alexsoft/laravel-pusher
最新稳定版本:v1.0.2
Composer 安装命令:
composer require alexsoft/laravel-pusher
包简介
Add Laravel facade for using pusher/pusher-php-server
关键字:
README 文档
README
Info
This package adds Laravel facade for easier usage of Pusher PHP Library
Installation
First install it using Composer. Edit your project's composer.json file to require alexsoft/laravel-pusher.
Laravel ~ 5.0
"require": {
"alexsoft/laravel-pusher": "~1.0.2"
}
Next, update Composer from the Terminal:
composer update
Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.
'Alexsoft\LaravelPusher\LaravelPusherServiceProvider'
Also add a class alias.
'Pusher' => 'Alexsoft\LaravelPusher\Facades\Pusher'
Then just publish config file
php artisan vendor:publish --provider="Alexsoft\LaravelPusher\LaravelPusherServiceProvider"
Finally put you App Id, Key and Secret in that file and that's it! You're all set to go.
统计信息
- 总下载量: 107
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-10