Weave Code
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

Rabbitmq Management Client Laravel Package

alchemy/rabbitmq-management-client

PHP client for the RabbitMQ Management HTTP API. Query and manage queues, exchanges and more via synchronous Guzzle requests or asynchronous ReactPHP promises. Includes a Guarantee helper to ensure resources exist and match desired settings.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Observability & Monitoring: Integrate real-time RabbitMQ metrics (queue lengths, message rates, consumer lag) into dashboards or alerts, reducing MTTR for messaging-related incidents.
  • Automated Queue Management: Build self-healing infrastructure by auto-scaling queues, purging stale messages, or triggering alerts when thresholds (e.g., messages > 10,000) are breached.
  • Cost Optimization: Monitor cluster health (e.g., disk usage, memory) to right-size RabbitMQ resources and avoid over-provisioning.
  • Feature Roadmap:
    • Phase 1: Replace manual CLI checks (e.g., rabbitmqctl) with programmatic monitoring.
    • Phase 2: Add proactive queue cleanup or dead-letter queue (DLQ) management.
    • Phase 3: Integrate with incident response workflows (e.g., Slack/PagerDuty alerts).
  • Build vs. Buy: Avoid reinventing the wheel for RabbitMQ API interactions; this package provides a maintained PHP client for the Management API, reducing dev effort.
  • Use Cases:
    • Microservices: Monitor inter-service message backlogs.
    • Event-Driven Architectures: Track Kafka/RabbitMQ hybrid pipelines.
    • Legacy Systems: Modernize monitoring for monolithic apps using RabbitMQ.

When to Consider This Package

  • Adopt if:
    • Your PHP stack already uses Laravel/Symfony and needs real-time RabbitMQ observability without heavyweight Java/Python tools.
    • You require asynchronous polling (e.g., for high-frequency metrics) or synchronous API calls for one-off checks.
    • Your team lacks RabbitMQ expertise but needs programmatic access to the Management API (vs. manual CLI usage).
    • You’re evaluating open-source (MIT-licensed) solutions with minimal dependencies (Guzzle/React).
  • Look elsewhere if:
    • You need active maintenance (last release: 2017; consider php-amqplib or Vladimirov/RabbitMQ for newer alternatives).
    • Your use case demands Guaranteed API (e.g., transactions) or advanced clustering tools (e.g., rabbitmqctl features).
    • You prefer language-agnostic solutions (e.g., Prometheus + RabbitMQ exporter) for broader team adoption.
    • Your RabbitMQ version is pre-3.5.0 (this client targets newer APIs).

How to Pitch It (Stakeholders)

For Executives: *"This lightweight PHP package lets us monitor RabbitMQ queues, consumers, and cluster health in real time—without adding new tools or languages. By integrating it into our Laravel stack, we can:

  • Reduce downtime with automated alerts for backlogged messages or failing consumers.
  • Cut costs by dynamically scaling queues based on usage (e.g., purge idle queues).
  • Future-proof our event-driven architecture with proactive observability. It’s a low-risk, high-reward way to modernize our messaging infrastructure."*

For Engineering: *"This client wraps RabbitMQ’s Management API in PHP, giving us two modes:

  1. Async (React): Poll queues/consumers periodically (e.g., every 30s) for metrics like messages, consumers, or memory.
  2. Sync (Guzzle): Run one-off checks (e.g., ‘Is this queue durable?’) in scripts or CLI tools. Pros:
  • No new services; runs in our existing PHP environment.
  • Supports queue management (create/delete/purge) and cluster stats (disk/memory).
  • Works with our Laravel apps or standalone scripts. Cons:
  • Last updated in 2017 (but core API is stable; we’d fork if needed).
  • No Guaranteed API (but we don’t need transactions). Next Steps:
  • Spike a proof-of-concept to monitor our orders and notifications queues.
  • Compare with alternatives like php-amqplib for feature parity.
  • Plan to integrate with our Prometheus/Grafana stack for dashboards."*
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky