A new ready-to-go repository with usage examples can be found at
https://github.com/jeromegamez/firebase-php-examples
New features
- Added support to create and update users with properties
(Documentation)Kreait\Firebase\Auth::createUser($properties)
Kreait\Firebase\Auth::updateUser($uid, $properties)
- Added
Kreait\Firebase\Auth::getUserByPhoneNumber($phoneNumber)
- Added method to verify the password of an account provided by the email/password provider
(Documentation)
Bugfixes
Kreait\Firebase\Auth::getUser()
andKreait\Firebase\Auth::getUser()
were throwing a TypeError
when trying to create a user record from an empty data set (the Firebase API returns an empty
response when no user is found). Now, aKreait\Firebase\Exception\UserNotFound
exception
is thrown instead.
Deprecations
Kreait\Firebase\Auth\ApiClient::signupNewUser()
Kreait\Firebase\Auth\ApiClient::enableUser()
Kreait\Firebase\Auth\ApiClient::disableUser()
Kreait\Firebase\Auth\ApiClient::changeUserPassword()
Kreait\Firebase\Auth\ApiClient::changeUserEmail()