mediumart / echo.io-php
php bindings for laravel echo.io server
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mediumart/echo.io-php
Requires
- php: >=5.6.4
 - firebase/php-jwt: ~5.0
 - illuminate/broadcasting: 5.3.*|5.4.*|5.5.*|5.6.*|5.7.*
 
Requires (Dev)
- orchestra/testbench: 3.3.*
 - phpunit/phpunit: ~5.0
 - predis/predis: ^1.1
 
README
Installation (laravel 5.3+)
$ composer require mediumart/echo.io-php
Add the service provider, in config/app.php, to the providers array (only need for laravel versions prior to 5.5)
Mediumart\Echoio\EchoioServiceProvider::class,
Then add a secret key for broadcasting, to config/services.php
'broadcast' => [ 'key' => '<your_secret_key_here>', ],
this can be any random string for now, but the exact same secret key should be configured on the echo.io nodejs server side.