timenz/emitter
Socket.io Emitter
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'))
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
641,106,524
9,700
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
418,291,778
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
394,964,158
4,660
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v0.0.1 | >=5.4.0 | 4.2.* | MIT |