voryx/thruway-bundle
Symfony bundle integrating Thruway, a WAMP v2 client/router, to add real-time RPC and Pub/Sub to Symfony apps. Expose PHP services over WebSocket, publish and subscribe to events, and build reactive features with minimal configuration.
Consider it when all of these hold:
thruway client, so fork-and-pin is a realistic plan.Look elsewhere when:
For executives (one paragraph): This is a small, unmaintained integration library that lets a PHP back end publish and subscribe to real-time events through a WAMP message router. It is not a Laravel package — it targets Symfony 2, which is end-of-life — so I do not recommend adopting it in our product. It is valuable to us as a reference design for how a topic-based event bus would be wired into PHP, and as a stopgap only if we acquire or continue to run a Symfony 2 application where a real-time feature is already committed. License cost is zero; total cost of ownership is not, because we would be forking and maintaining it ourselves.
For engineering (the ask): If we pursue real-time, the decision to make is protocol and transport, not this library. On Laravel that means broadcasting + Reverb (or a managed Pusher-compatible service) with Echo on the client — first-party, maintained, already documented. On modern Symfony it means Mercure. Choose WAMP only if a polyglot, router-mediated event bus is a genuine cross-service architectural requirement; in that case vendor and pin the thruway client and treat the bundle as a pattern to reimplement rather than a dependency to install.
Bottom line: adopt no for a Laravel product; mine it for architecture guidance; consider only as a legacy Symfony 2 bridge with an explicit owner and a dated plan to exit.
How can I help you explore Laravel packages today?