Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Stomp Php Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Async processing and event-driven features: Decouples user requests from background work — notifications, order fulfillment, data sync, imports — by letting Laravel services publish to and consume from a broker. This directly informs roadmap items around responsiveness, throughput, and reliability.
  • Enterprise messaging integration: Enables PHP/Laravel systems to participate in an existing ActiveMQ, Artemis, JMS, or RabbitMQ-with-STOMP fabric. That's a "connect the new app to the platform we already run" decision, not a greenfield queue choice.
  • Build vs. buy for protocol support: Buying a small STOMP client avoids reimplementing the protocol, but the PM must budget separately for a Laravel adapter/connector. This is a client library, not a queue driver — that distinction is the core planning input.
  • Broker strategy and standardization: Informs the roadmap decision "do we standardize on STOMP for cross-system integration, or invest in native Laravel backends (Redis, SQS, database, Beanstalkd)?" Both can coexist; the question is which is the default and which is the exception.
  • Legacy and heterogeneous interoperability: The strongest use case. When PHP must exchange messages with Java/JMS systems or older middleware, STOMP is often the path of least resistance, and the alternative is custom integration work.
  • Reliability and decoupling initiatives: Supports retryable, decoupled workflows — but only if paired with operational practices (dead-letter queues, idempotency, monitoring). The package does not deliver those for free.
  • Vendor and maintenance strategy: 92 stars and zero dependents makes this a wrapped or forked dependency, not a strategic platform bet. That's a risk decision the PM should surface early, not during implementation.

When to Consider This Package

Consider it when:

  • Your organization already operates a STOMP-capable broker and needs a PHP/Laravel client to reach it.
  • You must integrate with JMS/Java/enterprise messaging where STOMP is the practical or mandated protocol.
  • The team is willing to own a thin Laravel adapter — a service provider, config, an internal MessagePublisher/MessageConsumer interface, and worker/consumer commands.
  • Messaging needs are straightforward and you don't require Kafka-native semantics, advanced AMQP features, or a managed cloud queue.
  • You can absorb maintenance risk by pinning versions, vendoring or forking, and adding integration tests against the real broker.

Look elsewhere when:

  • You need a turnkey Laravel queue driver with an active community and predictable upgrade paths.
  • The roadmap depends on high throughput, advanced routing, exactly-once semantics, or event streaming.
  • You require commercial support, SLAs, or strong ecosystem adoption.
  • A native backend (Redis, SQS, database, Beanstalkd) or a managed cloud service already covers the use case with less operational overhead.
  • The team cannot own patching — no named owner means silent technical debt in a critical messaging path.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package