packagist kreait/firebase-php 2.2.0

latest releases: 7.x-dev, 7.11.0, dev-dependabot/github_actions/codecov/codecov-action-4.4.0...
7 years ago

Introduces Firebase\Factory to create Firebase instances, and deprecate the previous static instantiation methods on the Firebase class.

It is now possible to omit an explicit JSON credentials file,

  • if one of the following environment variables is set with the path to the credentials file:
    • FIREBASE_CREDENTIALS
    • GOOGLE_APPLICATION_CREDENTIALS
  • or if the file is located at
    • ~/.config/gcloud/application_default_credentials.json (Linux, MacOS)
    • $APPDATA/gcloud/application_default_credentials.json (Windows)

The documentation at http://firebase-php.readthedocs.io has been updated

The following methods have been deprecated and will trigger a deprecation warning when used:

  • Firebase::fromServiceAccount()
  • Firebase::fromDatabaseUriAndSecret()

Don't miss a new firebase-php release

NewReleases is sending notifications on new releases.