PHPackages                             ucha19871/fb - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. ucha19871/fb

ActiveLibrary[Framework](/categories/framework)

ucha19871/fb
============

Firebase REST API easy wrapper for Laravel

1.0.7(9y ago)65757[1 issues](https://github.com/uC137/fb/issues)MITPHPPHP &gt;=7.1

Since May 31Pushed 9y ago3 watchersCompare

[ Source](https://github.com/uC137/fb)[ Packagist](https://packagist.org/packages/ucha19871/fb)[ RSS](/packages/ucha19871-fb/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Firebase easy REST API wrapper for Laravel
==========================================

[](#firebase-easy-rest-api-wrapper-for-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/b8fc2abb242118b5722868034ed197500571929e8464cb04cf383ef6ceee0033/68747470733a2f2f706f7365722e707567782e6f72672f7563686131393837312f66622f762f737461626c65)](https://packagist.org/packages/ucha19871/fb)[![Total Downloads](https://camo.githubusercontent.com/693c70c61c9d7abfcc677bb7e2fe4b4859958f514bdb0a7f61b290f2c24fdc5a/68747470733a2f2f706f7365722e707567782e6f72672f7563686131393837312f66622f646f776e6c6f616473)](https://packagist.org/packages/ucha19871/fb)[![License](https://camo.githubusercontent.com/f17d7b7c185156a1ce4edaf4d76728983ab4600afd85d7d193625d9a59f80f36/68747470733a2f2f706f7365722e707567782e6f72672f7563686131393837312f66622f6c6963656e7365)](https://packagist.org/packages/ucha19871/fb)

### Installation

[](#installation)

```
composer require ucha19871/fb
```

After installing composer package, add the ServiceProvider to the providers array in `config/app.php`

```
Ucha19871\FB\FBServiceProvider::class,
```

Add this to your aliases for shorter code:

```
'FB' => Ucha19871\FB\Facades\FBFacades::class,
```

Insert the config settings in `config/services.php` like this:

```
    'firebase' => [
        'database_url' => 'https://PROJECT.firebaseio.com',
        'secret' => 'KB2xZjJgAvmPROJECT8ykNrT6f2emuuaxJTr9',
    ]
```

> You can get Firebase `secret` token like so:
>
> - click on the gear icon in you Firebase Console
> - Click Project settings
> - Click on the Service Account tab
> - Click on the Database Secrets link in the inner left-nav
> - Hover over the non-displayed secret and click Show

Usage
=====

[](#usage)

```
$data = ['key' => 'data' , 'key1' => 'data1']
FB::set('/test/',$data);

FB::get('/test/',['print'=> 'pretty']);

FB::push('/test/',$data);

FB::update('/test/',['key1' => 'Updating data by key']);

FB::delete('/test/');
```

---

For more options see firebase REST [documentation](https://firebase.google.com/docs/database/rest/start)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3318d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aaaaf744c039b9e5e16daa90cb91e9c3c6037de883407e746537ea60d05da76e?d=identicon)[uchm4n](/maintainers/uchm4n)

---

Top Contributors

[![uchm4n](https://avatars.githubusercontent.com/u/1173405?v=4)](https://github.com/uchm4n "uchm4n (16 commits)")

---

Tags

apiframeworklaravelrestwrapperfirebase

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ucha19871-fb/health.svg)

```
[![Health](https://phpackages.com/badges/ucha19871-fb/health.svg)](https://phpackages.com/packages/ucha19871-fb)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M184](/packages/laravel-ai)[lanin/laravel-api-exceptions

All in one solution for exception for JSON REST APIs on Laravel and Lumen.

40104.3k](/packages/lanin-laravel-api-exceptions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
