| Package Data | |
|---|---|
| Maintainer Username: | timenz |
| Maintainer Contact: | timenmail@gmail.com (Timen Chad) |
| Package Create Date: | 2015-04-05 |
| Package Last Update: | 2015-04-05 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-02 15:01:28 |
| Package Statistics | |
|---|---|
| Total Downloads: | 81 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 2 |
| Total Open Issues: | 0 |
Simple laravel socket.io emitter based on wisembly/socket.io (socket.io v1.* emitter only)
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'))