1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/config/broadcasting.php

60 lines
1.6 KiB
PHP
Raw Normal View History

2018-10-04 19:10:43 +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"
|
*/
'default' => env('BROADCAST_DRIVER', 'null'),
/*
|--------------------------------------------------------------------------
| 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',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
2018-10-04 19:10:43 +02:00
'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'),
2018-10-04 19:10:43 +02:00
'encrypted' => true,
],
],
'redis' => [
'driver' => 'redis',
2021-03-29 18:12:24 +02:00
'connection' => env('REDIS_BROADCAST_CONNECTION', 'default'),
2018-10-04 19:10:43 +02:00
],
'log' => [
'driver' => 'log',
],
'null' => [
'driver' => 'null',
],
],
];