Frankie B
8c0a2a6383
--------- Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
45 lines
1.2 KiB
PHP
45 lines
1.2 KiB
PHP
<?php
|
|
|
|
return [
|
|
'default' => env('BROADCAST_DRIVER', 'null'),
|
|
'connections' => [
|
|
'pusher' => [
|
|
'driver' => 'pusher',
|
|
'key' => env('PUSHER_APP_KEY'),
|
|
'secret' => env('PUSHER_APP_SECRET'),
|
|
'app_id' => env('PUSHER_APP_ID'),
|
|
'options' => [
|
|
'cluster' => env('PUSHER_APP_CLUSTER'),
|
|
'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
|
|
'port' => env('PUSHER_PORT', 443),
|
|
'scheme' => env('PUSHER_SCHEME', 'https'),
|
|
'encrypted' => true,
|
|
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
|
|
],
|
|
'client_options' => [
|
|
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
|
|
],
|
|
],
|
|
|
|
'ably' => [
|
|
'driver' => 'ably',
|
|
'key' => env('ABLY_KEY'),
|
|
],
|
|
|
|
'redis' => [
|
|
'driver' => 'redis',
|
|
'connection' => 'default',
|
|
],
|
|
|
|
'log' => [
|
|
'driver' => 'log',
|
|
],
|
|
|
|
'null' => [
|
|
'driver' => 'null',
|
|
],
|
|
|
|
],
|
|
|
|
];
|