firefly-iii/config/broadcasting.php

61 lines
1.5 KiB
PHP
Raw Normal View History

<?php
2017-09-14 10:40:02 -05:00
declare(strict_types=1);
2017-08-12 03:27:45 -05:00
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.
|
2016-09-15 23:19:40 -05:00
| Supported: "pusher", "redis", "log", "null"
|
*/
2016-09-15 23:19:40 -05:00
'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' => [
2017-09-09 15:32:11 -05:00
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
//
],
],
'redis' => [
2017-09-09 15:32:11 -05:00
'driver' => 'redis',
'connection' => 'default',
],
'log' => [
'driver' => 'log',
],
2016-09-15 23:19:40 -05:00
'null' => [
'driver' => 'null',
],
],
];