Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hat's avatar
Level 1

Please tell me sample code with Laravel+WebSocket API (AWS)

I would like to develop a service with the following configuration, but could someone please provide a specific sample?

  1. Create a WebSocket API with API Gateway on AWS
  2. Send a message from Laravel to a specific channel for the created WebSocket API
  3. Listen to a specific channel on the browser side, receive messages sent from Laravel and perform processing such as display
0 likes
0 replies

Please or to participate in this conversation.