alexsoft/laravel-pusher 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-10