Skip to content

timenz/laravel-socket.io-emitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'))

About

Laravel socket.io emitter based on wisembly/elephant.io

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages