HyanCat / xgpusher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tencent Xinge Pusher

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.

About

License:MIT License


Languages

Language:PHP 100.0%