elfsundae/xgpusher

1.1.0 2017-09-06 08:52 UTC

This package is auto-updated.

Last update: 2024-10-29 05:10:34 UTC


README

Latest Version on Packagist Software License Build Status StyleCI SensioLabsInsight Quality Score Code Coverage Total Downloads

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.