adrema/config/broadcasting.php

60 lines
1.7 KiB
PHP
Raw Normal View History

2020-04-10 20:32:12 +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.
|
| Supported: "pusher", "redis", "log", "null"
|
*/
2023-07-25 17:23:48 +02:00
'default' => env('BROADCAST_DRIVER', 'pusher'),
2020-04-10 20:32:12 +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',
2023-07-25 17:23:48 +02:00
'key' => 'adremakey',
'app_id' => 'adremaid',
'secret' => 'adremasecret',
2020-04-10 20:32:12 +02:00
'options' => [
2023-07-25 17:23:48 +02:00
'cluster' => 'adrema',
'encrypted' => true,
2023-08-15 16:28:10 +02:00
'host' => env('PUSHER_APP_HOST', 'socketi'),
2020-04-10 20:32:12 +02:00
'useTLS' => true,
2023-07-25 17:23:48 +02:00
'port' => 6001,
'scheme' => 'http',
2020-04-10 20:32:12 +02:00
],
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
],
'log' => [
'driver' => 'log',
],
'null' => [
'driver' => 'null',
],
],
];