Realtime Applications with Laravel
summary
A practical walkthrough of building real‑time features with Laravel shows a new package that implements a Pusher‑compatible API so Echo works without Node, runs via php artisan websockets serve, and uses Ratchet/reactphp under the hood. Demos include a Dusk Dashboard streaming full HTML test steps, a collaborative paint app, and a Twitter streamer. Load tests hit 55,000 concurrent connections on a 2GB droplet. Deployment notes cover ulimit, optional ev/event extensions, Redis for horizontal scaling, and pusher payload limits.
AI-written summary · about
chapters (15)
- 0:00Sponsor and introduction
- 1:04About the speaker
- 4:41Traditional AJAX approach
- 7:56Long polling limitations
- 10:01WebSockets explained
- 15:39WebSocket use cases
- 22:05Building PHP WebSocket server
- 27:05Laravel Dusk Dashboard demo
- 32:47Laravel Echo introduction
- 38:24Laravel WebSockets package
- 42:17Package configuration
- 47:14Debugging and replay events
- 47:36Deployment pitfalls
- 49:20Scalability and performance
- 51:08Resources and Q&A
