Pusher Test

Publish an event to channel my-channel with event name my-event; it will appear below:

------- PUSHER_APP_ID=1051709 PUSHER_APP_KEY=0d50a6a8ccff6264ac3e PUSHER_APP_SECRET=3e6832a8a7ac139a13e0 ------ config/broadcasting.php 'options' => [ 'cluster' => 'mt1', 'useTLS' => true ], ------------------------- app_id = "1051709" key = "0d50a6a8ccff6264ac3e" secret = "3e6832a8a7ac139a13e0" cluster = "mt1" -------------------------------------------------------- message = $message; } public function broadcastOn() { return ['my-channel']; } public function broadcastAs() { return 'my-event'; } }