mediumart / echo.io-php
php bindings for laravel echo.io server
0.0.10
2018-09-05 18:40 UTC
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.