From bd9a4f5436bfe4b87c7a982bd47c98a4932787a1 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 27 Apr 2015 15:21:32 -0500 Subject: [PATCH] Some sample configuration. --- config/app.php | 1 + config/broadcast.php | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 config/broadcast.php diff --git a/config/app.php b/config/app.php index 9f9dbeac..e7b2b62b 100644 --- a/config/app.php +++ b/config/app.php @@ -115,6 +115,7 @@ */ 'Illuminate\Foundation\Providers\ArtisanServiceProvider', 'Illuminate\Auth\AuthServiceProvider', + 'Illuminate\Broadcasting\BroadcastServiceProvider', 'Illuminate\Bus\BusServiceProvider', 'Illuminate\Cache\CacheServiceProvider', 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider', diff --git a/config/broadcast.php b/config/broadcast.php new file mode 100644 index 00000000..03c791b8 --- /dev/null +++ b/config/broadcast.php @@ -0,0 +1,40 @@ + 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', + 'key' => env('PUSHER_KEY'), + 'secret' => env('PUSHER_SECRET'), + 'app_id' => env('PUSHER_APP_ID'), + ], + + ], + +];