2015-08-30 13:22:00 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Default Broadcaster
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| This option controls the default broadcaster that will be used by the
|
|
|
|
| framework when an event needs to be broadcast. You may set this to
|
|
|
|
| any of the connections defined in the "connections" array below.
|
|
|
|
|
|
2021-02-14 03:39:22 +01:00
|
|
|
| Supported: "pusher", "redis", "log", "null"
|
|
|
|
|
|
2015-08-30 13:22:00 +02:00
|
|
|
*/
|
|
|
|
|
2021-02-14 03:39:22 +01:00
|
|
|
'default' => env('BROADCAST_DRIVER', 'null'),
|
2015-08-30 13:22:00 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Broadcast Connections
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here you may define all of the broadcast connections that will be used
|
|
|
|
| to broadcast events to other systems or over websockets. Samples of
|
|
|
|
| each available type of connection are provided inside this array.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'connections' => [
|
|
|
|
|
|
|
|
'pusher' => [
|
|
|
|
'driver' => 'pusher',
|
2021-02-14 03:39:22 +01:00
|
|
|
'key' => env('PUSHER_APP_KEY'),
|
|
|
|
'secret' => env('PUSHER_APP_SECRET'),
|
2015-08-30 13:22:00 +02:00
|
|
|
'app_id' => env('PUSHER_APP_ID'),
|
2016-09-30 00:26:31 +02:00
|
|
|
'options' => [
|
2021-02-14 03:39:22 +01:00
|
|
|
'cluster' => env('PUSHER_APP_CLUSTER'),
|
2021-02-14 19:21:31 +01:00
|
|
|
'useTLS' => true,
|
2016-09-30 00:26:31 +02:00
|
|
|
],
|
2015-08-30 13:22:00 +02:00
|
|
|
],
|
|
|
|
|
2021-02-14 20:11:18 +01:00
|
|
|
'ably' => [
|
|
|
|
'driver' => 'ably',
|
|
|
|
'key' => env('ABLY_KEY'),
|
|
|
|
],
|
|
|
|
|
2015-08-30 13:22:00 +02:00
|
|
|
'redis' => [
|
|
|
|
'driver' => 'redis',
|
|
|
|
'connection' => 'default',
|
|
|
|
],
|
|
|
|
|
|
|
|
'log' => [
|
|
|
|
'driver' => 'log',
|
|
|
|
],
|
|
|
|
|
2021-02-14 03:39:22 +01:00
|
|
|
'null' => [
|
|
|
|
'driver' => 'null',
|
|
|
|
],
|
|
|
|
|
2015-08-30 13:22:00 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|