fusesource/stomp-php
A lightweight PHP client for the STOMP messaging protocol. Connect to STOMP-compatible brokers, send and receive messages, and subscribe to destinations with a simple object-oriented API. Useful for integrating PHP applications with message queues.
Consider it when:
MessagePublisher/MessageConsumer interface, and worker/consumer commands.Look elsewhere when:
For executives: This package can accelerate integration with messaging infrastructure the organization already runs, and enables asynchronous, decoupled processing inside Laravel — reducing custom protocol work and time to market for event-driven features. Adoption cost is low; the real cost is the adapter work and ongoing ownership. It is not a turnkey Laravel solution, and its very low adoption (92 stars, zero dependents) means we should wrap it behind an internal interface and treat maintenance as a managed engineering concern rather than assume community support.
For engineering: It's a low-level STOMP client with no Laravel service provider, facade, or queue connector. Integration means a singleton connection factory, a config file, and wrappers — and long-lived consumers run under a supervisor, not in HTTP request cycles. Validate PHP version support first (the code predates PHP 8), confirm autoloading, and test against the exact broker and STOMP protocol version in staging. Prefer the maintained stomp-php/stomp-php fork; if that's not possible, vendor and pin. Do not assume reconnect, heartbeats, transaction acks, or dead-letter handling exist — build and monitor them explicitly. Roll out with one non-critical consumer and alerting before expanding scope.
How can I help you explore Laravel packages today?