]> BookStack Code Mirror - bookstack/blob - app/Config/broadcasting.php
Applied StyleCI changes, added php/larastan to attribution
[bookstack] / app / Config / broadcasting.php
1 <?php
2
3 /**
4  * Broadcasting configuration options.
5  *
6  * Changes to these config files are not supported by BookStack and may break upon updates.
7  * Configuration should be altered via the `.env` file or environment variables.
8  * Do not edit this file unless you're happy to maintain any changes yourself.
9  */
10
11 return [
12
13     // Default Broadcaster
14     // This option controls the default broadcaster that will be used by the
15     // framework when an event needs to be broadcast. This can be set to
16     // any of the connections defined in the "connections" array below.
17     'default' => env('BROADCAST_DRIVER', 'pusher'),
18
19     // Broadcast Connections
20     // Here you may define all of the broadcast connections that will be used
21     // to broadcast events to other systems or over websockets. Samples of
22     // each available type of connection are provided inside this array.
23     'connections' => [
24
25         'pusher' => [
26             'driver'  => 'pusher',
27             'key'     => env('PUSHER_APP_KEY'),
28             'secret'  => env('PUSHER_APP_SECRET'),
29             'app_id'  => env('PUSHER_APP_ID'),
30             'options' => [
31                 'cluster' => env('PUSHER_APP_CLUSTER'),
32                 'useTLS'  => true,
33             ],
34         ],
35
36         'redis' => [
37             'driver'     => 'redis',
38             'connection' => 'default',
39         ],
40
41         'log' => [
42             'driver' => 'log',
43         ],
44
45         'null' => [
46             'driver' => 'null',
47         ],
48
49     ],
50
51 ];
Morty Proxy This is a proxified and sanitized view of the page, visit original site.