Skip to content

ElfSundae/xgpusher

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages