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()