New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

timenz/emitter

Laravel socket.io emitter based on wisembly/elephant.io
81
Install
composer require timenz/emitter
Latest Version:v0.0.1
PHP:>=5.4.0
Laravel:4
License:MIT
Last Updated:Apr 5, 2015
Links: GitHub  ·  Packagist
Maintainer: timenz

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...

655,942,320 9,702
laravel/framework

The Laravel Framework.

617,629,957 34,997
laravel/tinker

Powerful REPL for the Laravel framework.

524,145,802 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

442,489,569 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

412,228,818 4,664

Version History

Version Released PHP Laravel License
v0.0.1 >=5.4.0 4.2.* MIT