PHPackages                             edfa3ly-backend/rabbitmq-bundle-consumer-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. edfa3ly-backend/rabbitmq-bundle-consumer-generator

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

edfa3ly-backend/rabbitmq-bundle-consumer-generator
==================================================

This is an extension for php-amqplib/rabbitmq-bundle for dynamically generating consumers

1.0.3(7y ago)19MITPHP

Since Apr 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/omarfawzi/RabbitMQ-Consumer-Generator-Bundle)[ Packagist](https://packagist.org/packages/edfa3ly-backend/rabbitmq-bundle-consumer-generator)[ RSS](/packages/edfa3ly-backend-rabbitmq-bundle-consumer-generator/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (9)Versions (5)Used By (0)

RabbitMQ Consumer Generator Bundle
==================================

[](#rabbitmq-consumer-generator-bundle)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Latest Stable Version](https://camo.githubusercontent.com/ae0dc18efa5542b5a665b2c3243984e04b54140f398a5b68f5dd422324d345fc/68747470733a2f2f706f7365722e707567782e6f72672f65646661336c792d6261636b656e642f7261626269746d712d62756e646c652d636f6e73756d65722d67656e657261746f722f762f737461626c65)](https://packagist.org/packages/edfa3ly-backend/rabbitmq-bundle-consumer-generator)[![Total Downloads](https://camo.githubusercontent.com/0fa0e12e05bffbf0305e813d0f1776bdeaf9f90966510ab900452ff3a7b51761/68747470733a2f2f706f7365722e707567782e6f72672f65646661336c792d6261636b656e642f7261626269746d712d62756e646c652d636f6e73756d65722d67656e657261746f722f646f776e6c6f616473)](https://packagist.org/packages/edfa3ly-backend/rabbitmq-bundle-consumer-generator)

Install
-------

[](#install)

Via Composer

```
$ composer require edfa3ly-backend/rabbitmq-bundle-consumer-generator
```

Description
-----------

[](#description)

- An extension bundle for `php-amqplib/rabbitmq-bundle` that generates consumers dynamically over code , converts them to their yaml representation and writes them over your specified path.

Usage
-----

[](#usage)

- Inject the `GeneratorWrapper` in a service of your own creation and use its methods

```
class ServiceExample
{

    /** @var GeneratorWrapper $wrapper */
    protected $wrapper;

   /**
    * ServiceExample constructor.
    *
    * @param GeneratorWrapper $wrapper
    */
   public function __construct(
       GeneratorWrapper $wrapper
   ) {
       $this->wrapper         = $wrapper;
   }

   /**
    * @throws Exception
    */
   public function createConsumers()
   {
       $consumer = new ConsumerSkeleton() ;
       $consumer->setName('the name of your consumer');
       $consumer->setQueueRoutingKeys(['array of routing keys of your consumer']);
       $consumer->setExchangeType('fanout , direct , topic or headers');
       $consumer->setExchangeName('the name of your consumer's exchange');
       $consumer->setQueueName('Queue name');
       $consumer->setCallback('\path\to\your\consumer\callback::class');
       $consumer->setAmqpConsumerType('consumers or batch_consumers');

       $this->wrapper->writeConsumers( [$consumer], 'relative\path\to\your\consumers\yaml');
   }
}

```

Console
-------

[](#console)

Now you can generate consumers through command just run `php bin\console consumer:generate` and answer the prompted questions .

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

2587d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8095037?v=4)[Omar Mohamed](/maintainers/omarfawzi)[@omarfawzi](https://github.com/omarfawzi)

---

Top Contributors

[![omarfawzi](https://avatars.githubusercontent.com/u/8095037?v=4)](https://github.com/omarfawzi "omarfawzi (18 commits)")

---

Tags

phpphp-amqpphp-amqplibrabbitmqrabbitmq-consumersymfony-bundlesymfony4

### Embed Badge

![Health badge](/badges/edfa3ly-backend-rabbitmq-bundle-consumer-generator/health.svg)

```
[![Health](https://phpackages.com/badges/edfa3ly-backend-rabbitmq-bundle-consumer-generator/health.svg)](https://phpackages.com/packages/edfa3ly-backend-rabbitmq-bundle-consumer-generator)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
