Interact with Google Firebase from your PHP application.
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.
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 | 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.
For errors and missing features, please use the issue tracker.
For general support, join the #php
channel at https://firebase.community/.