packagist kreait/firebase-php 4.2.0

latest releases: 7.x-dev, 7.10.0, dev-dependabot/github_actions/dependabot/fetch-metadata-2.1.0...
6 years ago

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() and Kreait\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, a Kreait\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()

Don't miss a new firebase-php release

NewReleases is sending notifications on new releases.