renatoneto / l5-scaledrone-broadcasting-driver
There is no license information available for the latest version (dev-master) of this package.
dev-master
2016-04-06 16:52 UTC
Requires
This package is not auto-updated.
Last update: 2024-11-09 19:09:52 UTC
README
Laravel Broadcasting ScaleDrone Driver for Laravel 5 and Lumen
Usage
In config/broadcasting.php set the default driver to 'scaledrone' and add configuration options like this:
'default' => 'scaledrone, 'connections' => [ ... 'scaledrone' => [ 'driver' => 'scaledrone', 'channel_id' => env('SCALEDRONE_CHANNEL_ID'), 'secret_key' => env('SCALEDRONE_SECRET_KEY') ], ... ]
Laravel
In your config/app.php add the ScaleDrone Service Provider to your providers:
'providers' => [ ... RenatoNeto\LaravelScaleDrone\ScaleDroneBroadcastServiceProvider::class, ... ]
Lumen
In your bootstrap/app.php register the ScaleDrone Service Provider:
... $app->register(RenatoNeto\LaravelScaleDrone\ScaleDroneBroadcastLumenServiceProvider::class); ...