Firebase Admin SDK

1.0.0 2019-09-12 20:05 UTC

This package is auto-updated.

Last update: 2021-01-12 23:16:40 UTC


This repository is a fork of the original version 2.3.1 so that users of php version 5.6 or lower can work with google firebase.

Thanks for all support of Jérôme Gamez.

Latest Stable Version Total Downloads License Build Status

This SDK makes it easy to interact with Google Firebase applications.

For support, please use the issue tracker, or join the Firebase Community Slack at and join the #php channel.


You can find the documentation at

    composer require nathanfeitoza/firebase-php5.6

Usage example

$firebase = (new \Firebase\Factory())

$database = $firebase->getDatabase();

$newPost = $database
        'title' => 'Post title',
        'body' => 'This should probably be longer.'

$newPost->getKey(); // => -KVr5eu8gcTv7_AHb-3-
$newPost->getUri(); // =>

$newPost->getChild('title')->set('Changed post title');
$newPost->getValue(); // Fetches the data from the realtime database