pedrogaldino/laravel-echo-driver
Laravel Echo Driver for Broadcasting
46
| Install | |
|---|---|
composer require pedrogaldino/laravel-echo-driver |
|
| Latest Version: | v1.2.1 |
| License: | MIT |
| Last Updated: | Mar 30, 2017 |
| Links: | GitHub · Packagist |
Maintainer: pedrogaldino
Echo Broadcasting Events Driver for Laravel
Installation
Using Composer:
composer require pedrogaldino/laravel-echo-driver
In your config/app.php file add the following provider to your service providers array:
'providers' => [
...
PedroGaldino\EchoBroadcastDriver\BroadcastServiceProvider::class,
...
]
In your config/broadcasting.php file set the default driver to 'echo' and add the connection configuration like so:
'default' => 'echo',
'connections' => [
...
'echo' => [
'driver' => 'echo',
'connection' => env('ECHO_HOST','localhost')
]
...
]