You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
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.
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.
composer require "kreait/firebase-php:^8.0"
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: