-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04a18ec
commit c3d2488
Showing
2 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?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" | ||
| | ||
*/ | ||
|
||
'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' => [ | ||
'driver' => 'pusher', | ||
'key' => env('PUSHER_APP_KEY'), | ||
'secret' => env('PUSHER_APP_SECRET'), | ||
'app_id' => env('PUSHER_APP_ID'), | ||
'options' => [ | ||
// | ||
], | ||
], | ||
|
||
'redis' => [ | ||
'driver' => 'redis', | ||
'connection' => 'default', | ||
], | ||
|
||
'log' => [ | ||
'driver' => 'log', | ||
], | ||
|
||
'null' => [ | ||
'driver' => 'null', | ||
], | ||
|
||
'socketio' => [ | ||
'driver' => 'socketio' | ||
] | ||
|
||
], | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters