Files
nl-admin-api/config/broadcasting.php

59 lines
1.5 KiB
PHP
Raw Normal View History

2015-04-27 15:21:32 -05: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"
|
2015-04-27 15:21:32 -05:00
*/
2016-08-05 15:51:19 -05:00
'default' => env('BROADCAST_DRIVER', 'null'),
2015-04-27 15:21:32 -05: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',
2015-04-27 15:52:54 -05:00
'key' => env('PUSHER_KEY'),
2015-04-27 15:21:32 -05:00
'secret' => env('PUSHER_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
2015-10-08 09:45:11 -05:00
//
],
2015-04-27 15:21:32 -05:00
],
2015-04-27 15:52:54 -05:00
'redis' => [
'driver' => 'redis',
'connection' => 'default',
],
2015-05-10 13:56:52 +07:00
'log' => [
'driver' => 'log',
],
2015-04-27 15:52:54 -05:00
'null' => [
'driver' => 'null',
],
2015-04-27 15:21:32 -05:00
],
];