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.

FAQ

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.

Example:
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?
kreait/firebase-php
Rate from 1 - 5
Rated 4.66 based on 35 reviews

Informations about the package firebase-php

# Firebase Admin SDK for PHP [![Current version](https://img.shields.io/packagist/v/kreait/firebase-php.svg?logo=composer)](https://packagist.org/packages/kreait/firebase-php) [![Monthly Downloads](https://img.shields.io/packagist/dm/kreait/firebase-php.svg)](https://packagist.org/packages/kreait/firebase-php/stats) [![Total Downloads](https://img.shields.io/packagist/dt/kreait/firebase-php.svg)](https://packagist.org/packages/kreait/firebase-php/stats)
[![CI](https://github.com/beste/firebase-php/actions/workflows/ci.yml/badge.svg)](https://github.com/beste/firebase-php/actions/workflows/ci.yml) [![Secure Tests](https://github.com/beste/firebase-php/actions/workflows/secure-tests.yml/badge.svg)](https://github.com/beste/firebase-php/actions/workflows/secure-tests.yml) [![Docs](https://github.com/beste/firebase-php/actions/workflows/docs.yml/badge.svg)](https://github.com/beste/firebase-php/actions/workflows/docs.yml) [![Sponsor](https://img.shields.io/static/v1?logo=GitHub&label=Sponsor&message=%E2%9D%A4&color=ff69b4)](https://github.com/sponsors/jeromegamez)

[!IMPORTANT] Support the project: This SDK is downloaded 1M+ times monthly and powers thousands of applications. If it saves you or your team time, please consider sponsoring its development.

[!NOTE] The project moved from the kreait to the beste GitHub Organization in January 2026. The namespace remains Kreait\Firebase and the package name remains kreait/firebase-php. Please update your remote URL if you have forked or cloned the repository.

Overview

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.

Installation

The recommended way to install the Firebase Admin SDK is with Composer. Composer is a dependency management tool for PHP that allows you to declare the dependencies your project needs and installs them into your project.

Please continue to the Setup section to learn more about connecting your application to Firebase.

If you want to use the SDK within a Framework, please follow the installation instructions here:

Quickstart

Sponsors

Thanks to Exitable and JetBrains for supporting this project.

License

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.3.0 || ~8.4.0 || ~8.5.0
ext-ctype Version *
ext-filter Version *
ext-json Version *
ext-mbstring Version *
beste/clock Version ^3.0
beste/in-memory-cache Version ^1.3.1
beste/json Version ^1.5.1
cuyz/valinor Version ^2.2.1
fig/http-message-util Version ^1.1.5
firebase/php-jwt Version ^6.10.2 || ^7.0.2
google/auth Version ^1.45
google/cloud-storage Version ^1.48.7
guzzlehttp/guzzle Version ^7.9.2
guzzlehttp/promises Version ^2.0.4
guzzlehttp/psr7 Version ^2.7
kreait/firebase-tokens Version ^5.2
lcobucci/jwt Version ^5.3
mtdowling/jmespath.php Version ^2.8.0
psr/cache Version ^2.0 || ^3.0
psr/clock Version ^1.0
psr/http-client Version ^1.0.3
psr/http-factory Version ^1.1
psr/http-message Version ^1.1 || ^2.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 ...