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

This package is not auto-updated.

Last update: 2023-02-04 10:03:13 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);
    ...