mediumart/echo.io-php

php bindings for laravel echo.io server

0.0.10 2018-09-05 18:40 UTC

This package is auto-updated.

Last update: 2024-04-24 04:05:51 UTC


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.