haiaouang / mipush-for-laravel5
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (1.0.3) of this package.
xiao mi push
1.0.3
2017-06-02 06:44 UTC
Requires
- php: >=5.3.0
README
小米推送laravel包开发,用于app推送消息、透传等功能
安装
加载包
composer require haiaouang/gaohuitong-for-laravel5
在配置文件中添加 config/app.php
'providers' => [ /** * 添加供应商 */ Hht\MiPush\MiPushServiceProvider::class, ], 'aliases' => [ /** * 添加别名 */ 'MiPush' => Hht\MiPush\Facades\MiPush::class, ],
生成配置文件
php artisan vendor:publish
设置小米推送的参数 config/mipush.php
使用
设置推送客户端
\MiPush::