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

Laravel Rabbitmq Laravel Package

iamfarhad/laravel-rabbitmq

Production-ready RabbitMQ queue driver for Laravel with native Queue integration. Built on ext-amqp with connection/channel pooling, configurable topology, Horizon hooks, Octane-safe resets, and optional high-performance basic_consume workers plus admin Artisan commands.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • High-Performance Queue Infrastructure: Replace or augment existing queue systems (e.g., database queues, Redis) with a native RabbitMQ driver for low-latency, high-throughput job processing in production. Ideal for event-driven architectures (e.g., real-time notifications, background processing, microservices).
  • Roadmap: Scalable Async Workloads
    • Build vs. Buy: Avoid reinventing RabbitMQ integration; leverage this package to reduce dev time while gaining enterprise-grade features (quorum queues, publisher confirms, multi-host failover).
    • Use Cases:
      • Hot queues (e.g., email processing, payments) with basic_consume mode.
      • Delayed/priority jobs (e.g., scheduled reports, critical alerts).
      • Resilient workflows (dead-letter routing, retries, transactions).
      • Multi-region deployments (multi-host failover, connection pooling).
  • Horizon/Octane Integration: Enable real-time monitoring (Horizon) or high-performance HTTP workers (Octane) with minimal configuration.
  • Cost Optimization: Reduce cloud messaging costs (e.g., AWS SQS, RabbitMQ Cloud) by self-hosting RabbitMQ with native ext-amqp (lower overhead than PHP libraries like php-amqplib).

When to Consider This Package

  • Adopt When:

    • You control infrastructure (self-hosted RabbitMQ or dedicated clusters).
    • You need native ext-amqp performance (benchmarks show lower latency than PHP libraries).
    • Your workloads require advanced RabbitMQ features:
      • Quorum queues (high availability).
      • Publisher confirms (guaranteed message delivery).
      • Dead-letter routing (error handling).
      • Priority/delayed jobs (SLA compliance).
    • You’re using Laravel 10+ and PHP 8.2+ (strict version support).
    • You want Horizon/Octane compatibility without vendor lock-in.
  • Look Elsewhere If:

    • You’re on shared hosting (no ext-amqp support; requires PECL).
    • You need serverless/managed RabbitMQ (e.g., CloudAMQP, AWS MQ) with auto-scaling.
    • Your team lacks RabbitMQ expertise (steeper learning curve than Redis/SQS).
    • You’re using older Laravel/PHP versions (pre-10/8.2).
    • You prioritize simplicity over features (e.g., basic queues suffice).

How to Pitch It (Stakeholders)

For Executives:

"This package lets us replace slow database queues with RabbitMQ’s native performance, cutting job processing time by 30–50% while adding resilience features like dead-letter queues, priority jobs, and multi-region failover. It’s a drop-in replacement for Laravel’s queue system, so we avoid reinventing the wheel. For $X in self-hosted RabbitMQ, we’ll save $Y in cloud messaging costs and gain real-time monitoring via Horizon. Risk: Minimal—uses Laravel’s existing queue API."

For Engineering:

*"We’re switching to native ext-amqp for:

  • Lower latency (no PHP library overhead).
  • Production-grade features: Quorum queues, publisher confirms, lazy connections.
  • Seamless Laravel integration: Works with Horizon, Octane, and existing jobs.
  • Multi-host failover: No single point of failure for critical queues. Tradeoffs:
  • Requires ext-amqp (PECL install; not available on shared hosting).
  • Slightly more complex config than Redis/SQS. Next Steps:
  1. Benchmark against current queue (e.g., database/Redis).
  2. Pilot with non-critical queues (e.g., logs, analytics).
  3. Migrate hot paths (emails, payments) last."*

For DevOps:

*"This package simplifies RabbitMQ ops with:

  • Connection pooling (reduces resource usage).
  • Health checks (auto-recovery from failures).
  • Supervisor/systemd-friendly worker commands.
  • Admin CLI tools (queue management, pool stats). Asks:
  • Ensure ext-amqp is installed in all environments (CI, staging, prod).
  • Configure multi-host failover for HA.
  • Monitor quorum queue performance (higher CPU/memory usage)."*
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.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony