timenz/emitter
最新稳定版本:v0.0.1
Composer 安装命令:
composer require timenz/emitter
包简介
Laravel socket.io emitter based on wisembly/elephant.io
README 文档
README
Simple laravel socket.io emitter based on wisembly/socket.io (socket.io v1.* emitter only)
Instalation
add to composer
"require": {
"timenz/emitter": "dev-master",
},
run
composer update
add to config/app.php profiders
'Timenz\Emitter\EmitterServiceProvider',
if you want custom name add to aliases
'SocketIo' => 'Timenz\Emitter\Facades\Emitter',
publish config
php artisan config:publish timenz/emitter
test
Emitter::emit('node', array('foo' => 'bar'))
统计信息
- 总下载量: 81
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-05