sondnpt00343/firebase-php
Firebase Admin SDK
Maintainers
Fund package maintenance!
Requires
- php: ^7.4|^8.0
- ext-ctype: *
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- google/auth: ^1.16
- google/cloud-core: ^1.42.2
- google/cloud-storage: ^1.24.1
- guzzlehttp/guzzle: ^6.5.5|^7.3
- guzzlehttp/promises: ^1.4
- guzzlehttp/psr7: ^1.7|^2.0
- kreait/clock: ^1.1
- kreait/firebase-tokens: ^1.16
- mtdowling/jmespath.php: ^2.6.1
- psr/cache: ^1.0.1|^2.0|^3.0
- psr/http-message: ^1.0.1
- psr/log: ^1.1|^2.0|^3.0
- psr/simple-cache: ^1.0
- riverline/multipart-parser: ^2.0.8
- symfony/polyfill-php80: ^1.23
Requires (Dev)
- giggsey/libphonenumber-for-php: ^8.12.27
- google/cloud-firestore: ^1.19.3
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^0.12.92
- phpstan/phpstan-phpunit: ^0.12.21
- phpunit/phpunit: ^9.5.6
- symfony/var-dumper: ^5.3.3
Suggests
- giggsey/libphonenumber-for-php: ^8.9 to validate phone numbers before attempting to send them to Firebase
- google/cloud-firestore: ^1.0 to use the Firestore component
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-06-24 15:30:04 UTC
README
π Current version
π Supported PHP version
π Monthly Downloads
π Total Downloads
π Tests
π Integration Tests
π codecov
π Discord
π Sponsor
Table of Contents
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 Firebase Admin PHP SDK is available on Packagist as kreait/firebase-php:
$ composer require kreait/firebase-php
Integrations for Laravel, Lumen and Symfony are available:
Documentation
- Authentication Guide
- Cloud Messaging Guide
- Cloud Storage Guide
- Dynamic Links Guide
- Firestore Guide
- Realtime Database Guide
- Remote Config Guide
Support
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.
