LaraPush
this is a push library for laravel
Version Compatibility
PushProvider | Enable | Version | Support |
---|---|---|---|
极光 | yes | ^3.5 | 极光 |
more provider | coming soon |
Installation
Install using composer:
composer require kubill/larapush
Laravel version < 5.5 (optional)
Add the service provider in config/app.php
:
\Kubill\LaraPush\PusherServiceProvider::class,
And add the Pusher alias to config/app.php
:
'Pusher' => \Kubill\LaraPush\Facades\Pusher::class,
Then run these commands to publish config:
php artisan vendor:publish --provider="Kubill\LaraPush\PusherServiceProvider"
Basic Usage
use the Pusher
Facade:
use \Kubill\LaraPush\Facades\Pusher;
Pusher::send('hello world', array('key' => 'value'));
License
LaraPush is licensed under The MIT License (MIT).