canhph2/simple-firebase-http-v1-php

A Simple Firebase library using HTTP v1 API for PHP

dev-main 2025-01-07 07:02 UTC

This package is auto-updated.

Last update: 2025-05-07 11:49:32 UTC


README

How to install

composer require canhph2/simple-firebase-http-v1-php

Required

  • The firebase-service-account-credentials.json in your server (or your local machine),
    • Download the file in Firebase > Project settings > Service Account > Generate new private key
  • Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the file path of the JSON file that contains your service account key.
export GOOGLE_APPLICATION_CREDENTIALS="/<FULL PATH OF>/service-account-file.json"

DevOps

Release a new version

sh .ops/release-a-new-version.sh