/firebase-php

Firebase Admin PHP SDK

Primary LanguagePHPMIT LicenseMIT

Firebase Admin SDK for PHP

Interact with Google Firebase from your PHP application.

Current version Supported PHP version Build Status GitHub license Total Downloads Scrutinizer Code Quality Code Coverage

If you are interested in using the PHP Admin SDK as a client for end-user access (for example, in a web application), as opposed to admin access from a privileged environment (like a server), you should instead follow the instructions for setting up the client JavaScript SDK.

Documentation

You can find the full documentation at firebase-php.readthedocs.io.

An example project can be found at https://github.com/jeromegamez/firebase-php-examples .

Feature matrix

Feature PHP Node.js Java Python Go
Custom Token Minting
ID Token Verification
Realtime Database API ✅* ✅*
User Management API
Remote Config
Cloud Messaging API
Cloud Storage API
Cloud Firestore API #

* The Realtime Database API currently does not support realtime event listeners.

# An integration with google/cloud-firestore is currently not available to avoid the need to install the grpc PHP extension when using this SDK. morrislaptop/firestore-php is a new project that aims to provide support for the Firestore without the need to install the grpc PHP extension.

Support

For errors and missing features, please use the issue tracker.

For general support, join the #php channel at https://firebase.community/.