kubill/larapush
Composer 安装命令:
composer require kubill/larapush
包简介
laravel pusher library
README 文档
README
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).
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-05-10