- Added support for
symfony/cache:^8.0.8
- Added support for Laravel 13
- Upgraded
kreait/firebase-phpfrom 7.x to 8.x - Dropped support for PHP 8.2 (The SDK requires at least PHP 8.3)
- The package is now ready for PHP 8.5
- Added support for callable strings/arrays when defining Guzzle Middlewares. This ensures that the Firebase config can be cached. (#247)
- Added support for Laravel 12
- Dropped support for Laravel 9 and 10
- Dropped support for PHP 8.1 (Laravel 11 requires at least PHP 8.2)
- Added support for PHP 8.4
- Revert making the Service provider deferrable. The auto discovery problem is hopefully still fixed because of the change in the latest version of the SDK.
- Service Provider Registration is now deferred. This should fix the credentials auto discovery in Laravel's package discovery stage (#210)
- Added support for Laravel 11 (#214)
- Enabled using
symfony/cache:^7
- Added support for overriding the name of the Firestore Default Database (#209)
- Added support for PHP 8.3
- Added support for configuration of credentials with a config array (#202)
- Enabled injecting middlewares into the Firebase API client (#187)
- Added AppCheck support (#174)
- Added support for Laravel 10
- Upgraded
kreait/firebase-phpfrom 6.x to 7.x - Dropped support for PHP <8.1, Laravel <9.0
- Dropped support for Lumen (it is not recommended anymore to use it)
- The ability to disable credentials auto-discovery has been removed. If you don't want a service account to be
auto-discovered, provide it by setting the
GOOGLE_APPLICATION_CREDENTIALSenvironment variable or by modifying the package configuration.
- Bumped dependencies, the minimum version of the underlying SDK is now 6.7.0.
- Updated comment in
config/firebase.phpto reference the default HTTP timeout- With
kreait/firebase6.7.0, the default was changed from ∞ to 30 seconds.
- With
- Added support for Laravel 9 (#118)
This is a release with breaking changes. Please review the following changes and adapt your application where needed.
- Added support for
kreait/firebase-php^6.0 - Dropped support for
kreait/firebase-php<6.0 - Dropped support for Laravel/Lumen <8.0
- Removed deprecated Facades - use the
Kreait\Laravel\Firebase\Facades\Firebasefacade insteadKreait\Laravel\Firebase\Facades\FirebaseAuthKreait\Laravel\Firebase\Facades\FirebaseDatabaseKreait\Laravel\Firebase\Facades\FirebaseDynamicLinksKreait\Laravel\Firebase\Facades\FirebaseFirestoreKreait\Laravel\Firebase\Facades\FirebaseMessagingKreait\Laravel\Firebase\Facades\FirebaseRemoteConfigKreait\Laravel\Firebase\Facades\FirebaseStorage
- Removed support deprecated config options and environment variables
$config['debug']/FIREBASE_ENABLE_DEBUG, use thehttp_debug_log_channelconfig option instead
- Added support for caching the authentication tokens used for connecting to the Firebase servers.
- Ensure support for all PHP 8.x versions (#110)
- Support for Database Auth Variable Overrides (#93)
- Type-hints have been updated to point to the interfaces that the underlying SDK provides since more recent versions.
- Bumped
kreait/firebase-phpdependency to^5.24(Database Auth Variable Overrides are supported since5.22)
- Support for tenant awareness via
FIREBASE_AUTH_TENANT_IDenvironment variable orfirebase.projects.*.auth.tenant_idconfig variable. (#79) (thanks to @sl0wik)
- Support for multiple firebase projects (thanks to @dododedodonl).
\Kreait\Laravel\Firebase\Facades\Firebasefacade- HTTP Client Options are now configurable (thanks to @kakajansh)
- config/firebase.php has a new format to support multiple projects
- Use of
FirebaseAuth,FirebaseDatabase,FirebaseDynamicLinks,FirebaseFirestore,FirebaseMessaging,FirebaseRemoteConfigandFirebaseStoragefacades
- Dropped support Laravel 5.8 and Lumen 5.8
- PHP
^8.0is now an allowed (but untested) PHP version
(no changes, I just somehow mis-tagged 2.3.0 🙈)
- Added support for Laravel 8.x
- It is now possible to log HTTP requests and responses to the Firebase APIs to existing log channels.
See the "logging" section in
config/firebase.phpfor the configuration options and the SDK Logging Documentation for more information.
- The default branch of the GitHub repository has been renamed from
mastertomain- if you're usingdev-masteras a version constraint in yourcomposer.json, please update it todev-main.
- Add config option to debug HTTP requests made directly from the SDK. It is disabled by
default and can be enabled with the
FIREBASE_ENABLE_DEBUG=trueenvironment variable or by adding'debug' => truetoconfig/firebase.php.
- Update
kreait/firebaseto^5.0
- Updated
kreait/firebase-phpto^4.40.1 - Added support for Laravel/Lumen
^7.0
- Updated
kreait/firebase-phpto^4.40.0 - A relative path to a credentials file is now resolved with
base_path()to address issues on Windows systems #7
- Added a notice about not using the factory pattern described in the SDK documentation when using this package. (Although not a code change, adding it in the changelog to enhance visibility)
- Added support for Lumen
- Updated
kreait/firebase-phpto^4.38.1
- Updated
kreait/firebase-phpto^4.35.0 - Added Firestore to the Service Provider and as
FirebaseFirestorefacade
- Updated
kreait/firebase-phpto^4.32.0 - Added Dynamic Links to the Service Provider and as
FirebaseDynamicLinksfacade - Added
FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAINas environment variable
To update the package, please re-publish its configuration
php artisan vendor:publish --provider="Kreait\Laravel\Firebase\ServiceProvider" --tag=configor add the following section to config/firebase.php:
<?php
return [
// ...
'dynamic_links' => [
'default_domain' => env('FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAIN')
],
// ...
];- Made clear that this package needs Laravel 5.8 or higher.
- Updated
kreait/firebase-phpto^4.30.1 - Required
illuminate/contractsandilluminate/support
- Initial release