| 
									
										
										
										
											2016-01-08 15:59:21 +01:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2016-10-05 06:52:15 +02:00
										 |  |  | /** | 
					
						
							|  |  |  |  * broadcasting.php | 
					
						
							|  |  |  |  * Copyright (C) 2016 thegrumpydictator@gmail.com | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This software may be modified and distributed under the terms of the | 
					
						
							|  |  |  |  * Creative Commons Attribution-ShareAlike 4.0 International License. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * See the LICENSE file for details. | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2016-05-20 08:57:45 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-08 15:59:21 +01: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-16 06:19:40 +02:00
										 |  |  |     | Supported: "pusher", "redis", "log", "null" | 
					
						
							|  |  |  |     | | 
					
						
							| 
									
										
										
										
											2016-01-08 15:59:21 +01:00
										 |  |  |     */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-16 06:19:40 +02:00
										 |  |  |     'default' => env('BROADCAST_DRIVER', 'null'), | 
					
						
							| 
									
										
										
										
											2016-01-08 15:59:21 +01: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' => [ | 
					
						
							| 
									
										
										
										
											2016-09-16 06:19:40 +02:00
										 |  |  |             'driver' => 'pusher', | 
					
						
							|  |  |  |             'key' => env('PUSHER_KEY'), | 
					
						
							|  |  |  |             'secret' => env('PUSHER_SECRET'), | 
					
						
							|  |  |  |             'app_id' => env('PUSHER_APP_ID'), | 
					
						
							| 
									
										
										
										
											2016-01-08 15:59:21 +01:00
										 |  |  |             'options' => [ | 
					
						
							|  |  |  |                 //
 | 
					
						
							|  |  |  |             ], | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         'redis' => [ | 
					
						
							| 
									
										
										
										
											2016-09-16 06:19:40 +02:00
										 |  |  |             'driver' => 'redis', | 
					
						
							| 
									
										
										
										
											2016-01-08 15:59:21 +01:00
										 |  |  |             'connection' => 'default', | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         'log' => [ | 
					
						
							|  |  |  |             'driver' => 'log', | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-16 06:19:40 +02:00
										 |  |  |         'null' => [ | 
					
						
							|  |  |  |             'driver' => 'null', | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-08 15:59:21 +01:00
										 |  |  |     ], | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ]; |