Firebase Admin SDK for PHP¶
Interact with Google Firebase from your PHP application.
Note
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.
The source code can be found at https://github.com/kreait/firebase-php/ .
User Guide¶
- Overview
- Setup
- Cloud Messaging
- Initializing the Messaging component
- Getting started
- Send messages to topics
- Send conditional messages
- Send messages to specific devices
- Send messages to multiple devices (Multicast)
- Send multiple messages at once
- Adding a notification
- Adding data
- Changing the message target
- Adding target platform specific configuration
- Adding platform independent FCM options
- Using Emojis
- Sending a fully configured raw message
- Validating messages
- Topic management
- App instance management
- Cloud Firestore
- Cloud Storage
- Realtime Database
- Authentication
- User management
- Dynamic Links
- Remote Config
- Framework Integrations
- Tutorials
- Troubleshooting