broadcasting.php 1.37 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<?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.
    |
    */

    'default' => env('BROADCAST_DRIVER', 'pusher'),

    /*
    |--------------------------------------------------------------------------
    | 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',
Taylor Otwell committed
33
            'key' => env('PUSHER_KEY'),
34 35
            'secret' => env('PUSHER_SECRET'),
            'app_id' => env('PUSHER_APP_ID'),
36
            'options' => [
Taylor Otwell committed
37
                //
38
            ],
39 40
        ],

Taylor Otwell committed
41 42 43 44
        'redis' => [
            'driver' => 'redis',
            'connection' => 'default',
        ],
45

46 47 48
        'log' => [
            'driver' => 'log',
        ],
Taylor Otwell committed
49

50 51 52
    ],

];