Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuma-guy/ray.firebasemodule
firebase module for Ray.Di
https://github.com/kuma-guy/ray.firebasemodule
Last synced: 8 days ago
JSON representation
firebase module for Ray.Di
- Host: GitHub
- URL: https://github.com/kuma-guy/ray.firebasemodule
- Owner: kuma-guy
- License: mit
- Created: 2016-03-30T07:45:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-03-30T23:17:10.000Z (over 8 years ago)
- Last Synced: 2024-11-15T06:09:04.728Z (about 1 month ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ray.FirebaseModule
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/kuma-guy/Ray.FirebaseModule/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/kuma-guy/Ray.FirebaseModule/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/ray-di/Ray.WebParamModule/badges/coverage.png?b=1.x)](https://scrutinizer-ci.com/g/ray-di/Ray.WebParamModule/?branch=1.x)
[![Build Status](https://travis-ci.org/kuma-guy/Ray.FirebaseModule.svg?branch=master)](https://travis-ci.org/kuma-guy/Ray.FirebaseModule)firebase module for Ray.Di
## Installation
### Composer install
$ composer require ray/firebase-module
### Module install```php
use Ray\Di\AbstractModule;
use Ray\FirebaseModule\FirebaseModule;class AppModule extends AbstractModule
{
protected function configure()
{
$this->install(new FirebaseModule('firebase_url', 'firebase_token'));
}
}
```
### DI trait* [FirebaseInject](https://github.com/kuma-guy/Ray.FirebaseModule/blob/master/src/FirebaseInject.php) for `Firebase\FirebaseInterface` interface