kreait/firebase-bundle
Symfony Bundle for the Firebase Admin SDK
6.1.0
5.3M downloads/mo
#2009 most downloaded on Packagist
beste/firebase-bundle
What this package is like to depend on
Last release 5 months ago
14 Mar 2026
Release timing varies
gaps range from 3 weeks to 11 months
Some releases are documented
notes for 22 of 42 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
42 releases · first in 2015
3 releases in the last 12 months
see the full history below
Release timeline
42 releases · Jan 2015 to Mar 2026Releases
latest 42-
6.1.014 Mar 2026 -
6.0.017 Feb 2026Release notes
Open source →- Dropped support for PHP versions older than 8.3 to match
kreait/firebase-php8.x - Updated the bundle to support
kreait/firebase-php8.x - Removed Dynamic Links support because it was removed from the Firebase Admin SDK
- Removed HTTP request logger configuration options because the underlying SDK hooks were removed
- Added support for per-project
http_client_optionsservice configuration - Fixed project option leakage by isolating project factory instances per configured Firebase project
- Removed the container service
Kreait\Firebase\Factory
Migration: HTTP request logging
If you previously used
http_request_loggerorhttp_request_debug_logger,
migrate to aKreait\Firebase\Http\HttpClientOptionsservice and wire your logging through Guzzle middleware.# config/services.yaml services: App\Firebase\HttpClientOptionsFactory: ~ app.firebase.http_client_options: class: Kreait\Firebase\Http\HttpClientOptions factory: ['@App\Firebase\HttpClientOptionsFactory', 'create']
<?php namespace App\Firebase; use Kreait\Firebase\Http\HttpClientOptions; final class HttpClientOptionsFactory { public function __construct(private readonly LoggingMiddleware $loggingMiddleware) { } public function create(): HttpClientOptions { return HttpClientOptions::default() ->withGuzzleMiddleware($this->loggingMiddleware); } }
# config/packages/firebase.yaml kreait_firebase: projects: my_project: http_client_options: 'app.firebase.http_client_options'
Migration: custom DI integrations
If you customized bundle internals with compiler passes or direct container lookups:
Kreait\Firebase\Factoryis no longer registered as a container service.- Project factories are now per project (
kreait_firebase.<project>.project_factory) instead of using onlyKreait\Firebase\Symfony\Bundle\DependencyInjection\Factory\ProjectFactory.
If your app modified the
ProjectFactorydefinition directly, update your code to target the per-project service id(s). - Dropped support for PHP versions older than 8.3 to match
-
5.7.029 Nov 2025 -
5.6.015 Jan 2025Release notes
Open source →Make services lazy to instantiate them only when they are actually used (#66)
-
5.5.016 Oct 2024 -
5.4.008 Jul 2024 -
5.3.028 May 2024 -
5.2.025 Jan 2024 -
5.1.101 Dec 2023 -
5.1.030 Nov 2023 -
5.0.013 Jan 2023Release notes
Open source →- Upgraded
kreait/firebase-phpfrom 6.x to 7.x - Dropped support for PHP <8.1 (the PHP SDK requires PHP 8.1/8.2)
- Upgraded
-
4.1.007 Jul 2022Release notes
Open source →Added
- Extra aliases have been added to make it easier to work with multiple projects. (#41)
-
4.0.009 Jan 2022Release notes
Open source →This is a release with breaking changes. Please review the following changes and adapt your application where needed.
Changes
- Added support for
kreait/firebase-php^6.0 - Dropped support for
kreait/firebase-php<6.0 - If you're type-hinting dependencies in your application code, make sure you type-hint the
Kreait\Firebase\Contract\*interfaces, not theKreait\Firebase\*implementations
- Added support for
-
3.1.004 Dec 2021Release notes
Open source →Added
- Added support for caching the authentication tokens used for connecting to the Firebase servers.
-
3.0.030 Nov 2021 -
2.7.004 Dec 2021Nothing published for this version
-
2.6.104 Dec 2021Nothing published for this version
-
2.6.023 Nov 2021Release notes
Open source →Added
- Made component contracts (
Kreait\Firebase\Contract\*) available via dependency injection.
Changed
- Dropped support for unsupported Symfony versions (see Symfony Releases). Starting with this release, supported Symfony versions are ^4.4 and ^5.3.
- Dropped support for unsupported PHP versions. Starting with this release, supported are PHP versions ^7.4 and ^8.0.
- Require
"kreait/firebase-php": "^5.25.0"
Deprecated
- Deprecated usage of contract implementations via dependency injection.
- Made component contracts (
-
2.5.008 Oct 2021Release notes
Open source →Changed
- Removed
psr/cacheandpsr/simple-cacheas direct dependencies. - Updated
symfony/cachedependency to address CVE.
- Removed
-
2.4.013 Apr 2021Release notes
Open source →Added
- Added configuration option
tenant_idto make a project tenant aware. (#31)
Changed
- The bundle now requires at least version 5.17.1 of the Firebase PHP SDK
- Added configuration option
-
2.3.004 Oct 2020 -
2.2.010 Jul 2020Release notes
Open source →Added
- It is now possible to log HTTP requests and responses to the Firebase APIs
by specifying a logger's service ID. You can do so by setting
http_request_loggerandhttp_request_debug_loggerwith the service ID of an already configured logger, e.g.monolog.logger.
- It is now possible to log HTTP requests and responses to the Firebase APIs
by specifying a logger's service ID. You can do so by setting
-
2.1.023 Jun 2020Release notes
Open source →Added
- Added Support for PSR-6 and PSR-16 caches. This implicitly adds out-of-the-box support for Symfony 5.
Changed
- The bundle now requires a version
^5.5of the Firebase Admin SDK. - 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.
-
2.0.001 Apr 2020Release notes
Open source →Added
- Added Support for
kreait/firebase-php:^5.0
Removed
- Removed Support for
kreait/firebase-php:<5.0 - Removed project aliases
- Added Support for
-
1.10.028 Mar 2020Nothing published for this version
-
1.9.009 Feb 2020Nothing published for this version
-
1.8.004 Dec 2019Nothing published for this version
-
1.7.026 Nov 2019Nothing published for this version
-
1.6.119 Nov 2019Nothing published for this version
-
1.6.009 Nov 2019Nothing published for this version
-
1.5.018 Oct 2019Nothing published for this version
-
1.4.013 Oct 2019Nothing published for this version
-
1.3.026 May 2019Nothing published for this version
-
1.2.116 Jul 2020Nothing published for this version
-
1.2.008 Feb 2019Nothing published for this version
-
1.1.109 Apr 2018Nothing published for this version
-
1.1.007 Apr 2018Nothing published for this version
-
1.0.006 Apr 2018Nothing published for this version
-
0.3.128 Jan 2015Nothing published for this version
-
0.2.423 Jan 2015Nothing published for this version
-
0.507 Dec 2015Nothing published for this version
-
0.404 May 2015Nothing published for this version