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
Xz Rabbitmq Bundle

Xz Rabbitmq Bundle Laravel Package

panghaibo/xz-rabbitmq-bundle

A PHP bundle for RabbitMQ integration, helping you configure connections, publish messages, and consume queues for asynchronous workflows in your applications.

View on GitHub
Deep Wiki
Context7

rabbitmq 二次开发 加入监控程序

Frequently asked questions about Xz Rabbitmq Bundle
Is panghaibo/xz-rabbitmq-bundle a Laravel package or a Symfony bundle?
The naming points to Symfony: the Composer name ends in -bundle and the repository is called rabbitXzBundle, which is the conventional suffix for Symfony bundles. The overview describes framework-friendly service integration but does not confirm a Laravel service provider or facade. Treat Laravel support as unconfirmed until you inspect the autoload layout and service registration code. If it is Symfony-only, wiring it into Laravel means writing your own service provider and translating the configuration.
How do I install panghaibo/xz-rabbitmq-bundle with Composer?
Run composer require panghaibo/xz-rabbitmq-bundle, then register whatever service or bundle class the package ships. Because no release cadence or version tags are documented, pin an explicit version or commit hash rather than relying on a floating constraint. Check the PHP and extension requirements first, since RabbitMQ clients typically need either ext-amqp or php-amqplib.
Which RabbitMQ client library does this bundle wrap?
The package is a wrapper around an AMQP transport, and the overview does not name the underlying client, so it is most likely php-amqplib, ext-amqp, or a thin socket layer. This matters because the client determines reconnect behavior, heartbeat support, and whether it conflicts with illuminate/queue's own php-amqplib constraint. Read the connection class before you commit to an integration estimate.
How do I configure connections, exchanges, and queues with it?
Configuration is the package's main selling point: connections, exchanges, and queues are declared in config and the producer and consumer classes read from it. The exact format is not shown in the overview, so expect to translate your existing Laravel config into the bundle's schema. Watch for duplicated connection definitions if you keep the native Laravel RabbitMQ driver running alongside it.
What does the monitoring program in this bundle actually do?
The description says the project is RabbitMQ secondary development with an added monitoring program, but the overview does not say which metrics it collects, how it ships them (statsd, Prometheus, logs, or AMQP), or whether sampling is supported. It is also unclear whether it exposes an endpoint or needs a companion collector. Until you read the source, do not assume it reports queue depth, consumer count, or ack/nack rates out of the box. Check what happens when the monitoring backend is unreachable, because a blocking flush inside the consumer loop is a real production risk.
Can I use this as a Laravel queue driver for async jobs?
No, not directly. It provides producer and consumer abstractions rather than an Illuminate\Contracts\Queue\Queue implementation, so Laravel's dispatch, retry, and failed-job machinery will not map onto it without an adapter. For background jobs on RabbitMQ in Laravel, the native driver or a maintained third-party queue driver is the safer starting point. This bundle is better treated as a reference for messaging patterns than as queue infrastructure.
What PHP and Laravel versions are supported?
The package does not publish a CI matrix, changelog, or version tags in the material available, so supported PHP versions are unknown. The naming conventions suggest an older Symfony-era codebase, which raises the odds of outdated PHP constraints or deprecated APIs. Run composer why-not against your target PHP and Laravel versions before assuming compatibility.
Is this package safe to use in production?
It has very low adoption (three stars, no dependents) and a single author, so there is no evidence of production use and abandonment should be the base case. An unaudited wrapper sitting in the message path also handles credentials, connection strings, and payloads, which is a security review item rather than a formality. If you evaluate it at all, do so as a bounded source audit instead of adding it as a straight dependency.
How does it compare to Laravel's built-in RabbitMQ driver or laravel-queue-rabbitmq?
Laravel ships a RabbitMQ queue driver over php-amqplib, and packages like vladimir-yuldashev/laravel-queue-rabbitmq add connection, exchange, and queue configuration on top of Laravel's queue API. Those integrate with jobs, retries, and failed-job handling, which this bundle does not appear to. Running this package alongside them means two connection managers and two sets of failure semantics in one process, an operational cost worth avoiding.
How should I test or evaluate it before adopting?
Time-box a source audit: read the connection and consumer classes and confirm the client library, the framework identity, the monitoring transport, and the behavior when the broker or metrics backend is unreachable. Then write a small publish and consume test against a local RabbitMQ container, exercising heartbeats, auto-reconnect, and consumer prefetch or QoS explicitly. If the audit shows it is Symfony-only, budget for a service provider and config translation before you estimate anything.
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