ucha19871/fb
Firebase REST API easy wrapper for Laravel
575
5
Larablocks Analysis
ucha19871/fb works with Laravel 5 (latest release 1.0.7, May 31, 2017), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: May 31, 2017)
- 0 downloads a month (needs 10,000)
- 5 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: May 31, 2017.
- No releases in the last 12 months.
- First released: May 31, 2017.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.
| Install | |
|---|---|
composer require ucha19871/fb |
|
| Latest Version: | 1.0.7 |
| PHP: | >=7.1 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Jun 2, 2017 |
| Links: | GitHub · Packagist |
Maintainer: uchm4n
Firebase easy REST API wrapper for Laravel
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
secrettoken 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
$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
Related Packages
luracast/restler
Restler is a simple and effective multi-format Web API Server framework written...
604,573
1,388
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.7 | >=7.1 | ^5.4 | MIT |