Registry / cloud / kreait-firebase-php

kreait-firebase-php

JSON →
library8.2.0phppackagistunverified

Firebase Admin SDK for PHP, enabling server-side integration with Firebase services.

composer require kreait/firebase-php
INSTALL
IMPORT
SIG · KREAIT-FIREBASE-PH
K
kreait-firebase-php
cloudphpv8.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Factory
use Kreait\Firebase\Factory;

Initialize Firebase Admin SDK with service account

<?php use Kreait\Firebase\Factory; $factory = (new Factory)->withServiceAccount('/path/to/firebase_credentials.json'); $auth = $factory->createAuth();
Debug
Known issues
breakingRequires PHP 8.1+
fix
Upgrade PHP to 8.1 or later
affects: >=8.0.0
Upgrade
Version history
8.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
24
Resources
kreait-firebase-php — pip install kreait-firebase-php · libregistry