ray / firebase-module
firebase module for Ray.Di
dev-master
2016-03-30 23:17 UTC
Requires
- ktamas77/firebase-php: ^2.0
- ray/di: ~2.0
This package is auto-updated.
Last update: 2024-10-26 18:06:39 UTC
README
firebase module for Ray.Di
Installation
Composer install
$ composer require ray/firebase-module
Module install
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 for
Firebase\FirebaseInterface
interface