A Laravel package for the Firebase PHP Admin SDK. This package requires Laravel 8.x and higher or Lumen 8.x and higher. In order to access a Firebase project and its related services using a server SDK, requests must be authenticated. For server-to-server communication, this is done with a Service Account. The package uses auto-discovery for the default project to find the credentials needed for authenticating requests to the Firebase APIs by inspecting certain environment variables and looking into Google's well-known path(s). Once you have downloaded the Service Account JSON file, you can configure the package by specifying environment variables starting with FIREBASE_ in your .env file. For further configuration, please see config/firebase.php. You can modify the configuration by copying it to your local config directory or by defining the environment variables used in the config file.

Features

  • This package requires Laravel 8.x and higher or Lumen 8.x and higher
  • Multiple projects can be configured in config/firebase.php
  • Firebase Admin PHP SDK is licensed under the MIT License
  • The package uses auto discovery for the default project
  • For the Firebase PHP Admin SDK
  • Laravel package

Project Samples

Project Activity

See All Activity >