Nigeria No1. Music site And Complete Entertainment portal for Music Promotion WhatsApp:- +2349077287056
Sunday, 20 September 2026
Show HN: Lightspeed, bidirectional WebSockets for Laravel (with asteroids demo) https://bit.ly/4rpbTko
Show HN: Lightspeed, bidirectional WebSockets for Laravel (with asteroids demo) Hi HN! Laravel has worked with websockets for years but generally speaking it's a one way push architecture (i.e. http in, sockets out). Lightspeed is kind of like node in that it's a single server that serves your http and your websockets all under one roof. Auth runs in 0.03ms (a Redis read, no database). Your Laravel handler runs inside the full container and the reply comes back down the same socket. I think this could be really cool for creating new ways of working with Laravel. Anyway, I put together a live demo to show it in action. Basically a cross between slither.io and Asteroids. Game here: https://bit.ly/4h63cba Repo here: https://bit.ly/4hf9RP5 Note: This is 0.1.0, the API may change before 1.0. It needs the Swoole extension and Redis. MIT. September 21, 2026 at 12:02AM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment