georgeboot/laravel-echo-api-gateway
Connect Laravel Echo to AWS API Gateway WebSocket APIs. This package enables realtime broadcasting and channel subscriptions through API Gateway, so you can use serverless WebSockets without running a dedicated Echo server.
Consider it when:
postToConnection semantics).0.5.9). Treat the version as pinned; 0.x semver permits breakage in minor bumps, and a maintenance plan is part of the adoption decision, not an afterthought.Look elsewhere when:
For executives (one paragraph): We can deliver in-app real-time updates — live notifications, status changes, progress indicators — on infrastructure we already run, without adding a new SaaS vendor, a new contract, or a new data processor. The cost profile is per-message and per-connection-minute inside our existing AWS spend, which for our expected volume is materially cheaper than connection-tier managed pub/sub. The trade-off is that we own the plumbing and it isn't a fit for presence-rich or chat-grade interactivity; that remains a separate decision. This release is the one that makes the approach reliable enough to put in front of customers, not just demo.
For engineering: 0.5.9 makes this viable. Reconnect handling after API Gateway's 2-hour connection limit was the failure mode that would have silently killed listeners in production; that's fixed, and it's the difference between "works in staging" and "we can support this." Echo v1 (^1.10) and v2 are both supported, so the frontend isn't forced into a coordinated upgrade. The websocket handler was hardened for channel security — pull the diff and review it as part of sign-off, since the existence of these fixes tells us the surface was thin before. Note that we're on a 0.x release: pin the version, treat minor bumps as potentially breaking, and budget for either upstream contribution or a fork if maintenance lags. Recommended next step is a timeboxed spike against a real API Gateway WebSocket stage, measuring reconnect behaviour across the 2-hour boundary before we commit a roadmap slot.
How can I help you explore Laravel packages today?