pedrogaldino / laravel-echo-driver by pedrogaldino

Laravel Echo Driver for Broadcasting
44
0
2
Package Data
Maintainer Username: pedrogaldino
Maintainer Contact: eu@pedrogaldino.com (Pedro Galdino)
Package Create Date: 2017-03-30
Package Last Update: 2017-03-30
Language: PHP
License: MIT
Last Refreshed: 2024-04-25 15:02:32
Package Statistics
Total Downloads: 44
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

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')
        ]
    ...
]