elfsundae / xgpusher
Xinge Pusher
1.1.0
2017-09-06 08:52 UTC
Requires
- php: >=5.6.4
- elfsundae/xgpush: ^1.1.9
- illuminate/support: 5.*
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~5.7
This package is auto-updated.
Last update: 2024-10-29 05:10:34 UTC
README
Installation
$ composer require elfsundae/xgpusher
Laravel Integration
Register the service provider by adding the following to the providers
array in config/app.php
:
ElfSundae\XgPush\PusherServiceProvider::class,
Add "xgpush" configuration in config/services.php
of your app:
'xgpush' => [ 'key' => env('XGPUSH_KEY'), 'secret' => env('XGPUSH_SECRET'), 'environment' => env('XGPUSH_ENVIRONMENT', env('APP_ENV')), 'custom_key' => 'custom', 'account_prefix' => 'user', ],
Testing
$ composer test
License
This package is open-sourced software licensed under the MIT License.