phrity/websocket
PHP WebSocket client and multi-connection server with ws/wss support. Includes listener callbacks, standard Close and Ping/Pong handling, optional deflate compression, fragmentation and masking support, plus middleware system for extending behavior.
Adopt if:
Look elsewhere if:
broadcasting with Redis).For Executives: "This package lets us own our real-time infrastructure in PHP, reducing vendor lock-in and costs. For example, we can replace Pusher’s $500/month for 10K connections with a self-hosted Laravel server using this library—saving ~$60K/year while gaining full control. It’s production-ready (used in live systems like [example]) and aligns with our tech stack."
For Engineering:
*"This is a drop-in replacement for abandoned textalk/websocket with modern features:
Trade-offs:
Next steps:
How can I help you explore Laravel packages today?