| 
									
										
										
										
											2016-01-08 15:59:21 +01:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2016-05-20 08:57:45 +02:00
										 |  |  | declare(strict_types = 1); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											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. | 
					
						
							|  |  |  |     | | 
					
						
							|  |  |  |     */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     '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' => [ | 
					
						
							| 
									
										
										
										
											2016-08-26 08:21:31 +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-08-26 08:21:31 +02:00
										 |  |  |             'driver'     => 'redis', | 
					
						
							| 
									
										
										
										
											2016-01-08 15:59:21 +01:00
										 |  |  |             'connection' => 'default', | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         'log' => [ | 
					
						
							|  |  |  |             'driver' => 'log', | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ]; |