Download the PHP package kreait/firebase-php without Composer

On this page you can find all versions of the php package kreait/firebase-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.


After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
Rate from 1 - 5
Rated 4.66 based on 35 reviews

Informations about the package firebase-php

Firebase Admin PHP SDK

Current version Packagist PHP Version Support Monthly Downloads Total Downloads Tests Integration Tests Emulator Tests codecov Sponsor

The future of the Firebase Admin PHP SDK

The SDK has nearly 2,000 Stars on GitHub, is included in more than 6,000 GitHub repositories, and is downloaded more than 450,000 times per month and counting. Integrations for Laravel and Symfony increase these numbers. If a PHP project uses Firebase, there's a good chance it's using this SDK.

The high number of downloads is a clear sign that the SDK is used in many CI/CD pipeline runs, indicating that a large number of enterprise and agency users rely on it to sustain their business. They use the SDK for free while making money from it - however, none of them have provided funding for me, the developer of the SDK.

Over the last 8+ years, I've spent thousands of hours maintaining and developing the SDK, keeping up with new features and changes to Firebase Services, providing support to users of the SDK and integrations (here and on StackOverflow, and making significant contributions to the official Google PHP libraries, so that not only SDK users can use up-to-date dependencies in their projects.

I have plans to improve and expand the SDK, such as adding better support for using multiple Firebase projects, tests without an integration environment, integrating Firebase's ML capabilities. Also, as I added more features while trying to keep the breaking changes at a minimum, there are many opportunities to improve the code base in general; but I hope you can understand that the current situation is very frustrating and feels increasingly unsustainable to me.

If the SDK is valuable to you and you would like to help change the situation, please contact me at [email protected] to discuss.


Firebase provides the tools and infrastructure you need to develop your app, grow your user base, and earn money. The Firebase Admin PHP SDK enables access to Firebase services from privileged environments (such as servers or cloud) in PHP.

For more information, visit the Firebase Admin PHP SDK documentation.


The Firebase Admin PHP SDK is available on Packagist as kreait/firebase-php:

Supported Versions

Only the latest version is actively supported.

Earlier versions will receive security fixes as long as their lowest PHP requirement receives security fixes. For example, when a version supports PHP 7.4 and PHP 8.0, security support will end when security support for PHP 7.4 ends.

Version Initial Release Supported PHP Versions Status
7.x 20 Dec 2022 ~8.1.0, ~8.2.0, ~8.3.0 Active
6.x 01 Jul 2022 ^7.4, ^8.0 End of life
5.x 01 Apr 2020 ^7.2 End of life
4.x 14 Feb 2018 ^7.0 End of life
3.x 22 Apr 2017 ^7.0 End of life
2.x 06 Nov 2016 ^7.0 End of life
1.x 15 Jul 2016 ^5.5, ^7.0 End of life
0.x 09 Jan 2015 >=5.4 End of life
JetBrains Logo A big thank you to JetBrains for supporting this project with free open-source licences of their IDEs.


Firebase Admin PHP SDK is licensed under the MIT License.

Your use of Firebase is governed by the Terms of Service for Firebase Services.

All versions of firebase-php with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0 || ~8.2.0 || ~8.3.0
ext-ctype Version *
ext-filter Version *
ext-json Version *
ext-mbstring Version *
ext-openssl Version *
beste/clock Version ^3.0
beste/json Version ^1.2.1
fig/http-message-util Version ^1.1.5
firebase/php-jwt Version ^6.3.2
google/auth Version ^1.24
google/cloud-core Version ^1.48.1
google/cloud-storage Version ^1.30.1
guzzlehttp/guzzle Version ^7.5
guzzlehttp/promises Version ^2.0
guzzlehttp/psr7 Version ^2.6
kreait/firebase-tokens Version ^4.2
lcobucci/jwt Version ^4.3.0|^5.0
mtdowling/jmespath.php Version ^2.6.1
psr/cache Version ^1.0.1|^2.0|^3.0
psr/clock Version ^1.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1 || ^2.0
psr/log Version ^1.1|^2.0|^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kreait/firebase-php contains the following files

Loading the files please wait ....