Looking to hire Laravel developers? Try LaraJobs

laravel-socket maintained by marcuscampos

Description
Socket gun based on Elephant.io for Laravel
Last update
2019/08/06 20:41 (dev-master)
License
Downloads
228
Tags

Comments
comments powered by Disqus

Laravel Socket.io [Abandoned]

Socket gun based on wisembly/socket.io(socket.io v1.* emitter only) for Laravel.

Instalation ####Run

composer require marcuscampos/laravel-socket

####Add to config/app.php providers

MarcusCampos\LaravelSocket\SocketServiceProvider::class,

If you want custom name add to aliases

'SocketIo' => \MarcusCampos\LaravelSocket\Emitter\Facades\Emitter::class,

####Publish config

php artisan vendor:publish

####Usage

Emitter::emit('channelOrEvent', array('foo' => 'bar'));