PHPackages                             prooph/psb-enqueue-producer - 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. prooph/psb-enqueue-producer

ActiveLibrary

prooph/psb-enqueue-producer
===========================

Enqueue Message Producer for Prooph Service Bus

v0.5.0(5y ago)1095.2k8[1 issues](https://github.com/prooph/psb-enqueue-producer/issues)MITPHPPHP ^7.1CI failing

Since Jul 4Pushed 5y ago5 watchersCompare

[ Source](https://github.com/prooph/psb-enqueue-producer)[ Packagist](https://packagist.org/packages/prooph/psb-enqueue-producer)[ Docs](http://getprooph.org/)[ RSS](/packages/prooph-psb-enqueue-producer/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (10)Versions (7)Used By (0)

Enqueue Message Producer for Prooph Service Bus
===============================================

[](#enqueue-message-producer-for-prooph-service-bus)

Use [Enqueue](https://github.com/php-enqueue/enqueue-dev) as a message producer for [Prooph Service Bus](https://github.com/prooph/service-bus).

Important
---------

[](#important)

This library will receive support until December 31, 2019 and will then be deprecated.

For further information see the official announcement here:

Installation
------------

[](#installation)

You can install the producer via composer by executing `$ composer require prooph/psb-enqueue-producer`.

Usage
-----

[](#usage)

Check the [EnqueueMessageProducerTest](tests/Functional/EnqueueMessageProducerTest.php). Set up the producer is a straightforward task. Most of the required components are provided by PSB and Enqueue. This package only provides the glue code needed to let both systems work together.

Why Enqueue producer
--------------------

[](#why-enqueue-producer)

- You choose a transport from [many supported ones](https://github.com/php-enqueue/enqueue-dev/tree/master/docs/transport).
- Could be used from Symfony as well as plain PHP.
- Supports delayed messages (if transport supports it).
- Supports events, commands and queues with possibility to get result.
- Simple and clean code.

Symfony configuration
---------------------

[](#symfony-configuration)

If you're using the [EnqueueBundle](https://github.com/php-enqueue/enqueue-bundle) you can configure the classes from this package like this:

```
services:
    Prooph\ServiceBus\Message\Enqueue\EnqueueSerializer:
    Prooph\ServiceBus\Message\Enqueue\EnqueueMessageProducer:
        $commandName: 'my_application'
        $replyTimeout: 1000 # Timeout in milliseconds.
    Prooph\ServiceBus\Message\Enqueue\EnqueueMessageProcessor:
        tags:
            - { name: 'enqueue.processor', command: 'my_application' }
            # For enqueue 0.8 use this instead.
            #- { name: 'enqueue.client.processor', topicName: '__command__', processorName: 'my_application' }
```

Then you can run the processor like this:

```
bin/console enqueue:consume --setup-broker -vvv

```

See the [Enqueue documentation](https://github.com/php-enqueue/enqueue-dev/blob/master/docs/index.md) for more information.

Support
-------

[](#support)

- Ask questions on Stack Overflow tagged with [\#prooph](https://stackoverflow.com/questions/tagged/prooph).
- Ask enqueue questions in [enqueue](https://gitter.im/php-enqueue/Lobby) gitter chat.
- File issues at .
- Say hello in the [prooph gitter](https://gitter.im/prooph/improoph) chat.

License
-------

[](#license)

It is released under the [MIT License](LICENSE).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51.6% 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 ~258 days

Recently: every ~301 days

Total

6

Last Release

1945d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b633be52465d4aa057f04a7dd7ae8e9bb8ad0245c029550252a95eec395f85f4?d=identicon)[prooph](/maintainers/prooph)

---

Top Contributors

[![makasim](https://avatars.githubusercontent.com/u/143206?v=4)](https://github.com/makasim "makasim (32 commits)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (11 commits)")[![gdsmith](https://avatars.githubusercontent.com/u/908695?v=4)](https://github.com/gdsmith "gdsmith (6 commits)")[![iainmckay](https://avatars.githubusercontent.com/u/1223726?v=4)](https://github.com/iainmckay "iainmckay (6 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (5 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (2 commits)")

---

Tags

enqueuephpphp7proophprooph-service-busmessagingcqrsproophenqueue

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prooph-psb-enqueue-producer/health.svg)

```
[![Health](https://phpackages.com/badges/prooph-psb-enqueue-producer/health.svg)](https://phpackages.com/packages/prooph-psb-enqueue-producer)
```

###  Alternatives

[prooph/service-bus

PHP Enterprise Service Bus Implementation supporting CQRS and DDD

4421.4M32](/packages/prooph-service-bus)[prooph/service-bus-symfony-bundle

88392.2k3](/packages/prooph-service-bus-symfony-bundle)[prooph/event-store

Event Store v8

5471.5M40](/packages/prooph-event-store)[prooph/event-store-bus-bridge

Marry CQRS with Event Sourcing

37518.3k11](/packages/prooph-event-store-bus-bridge)[prooph/http-middleware

http middleware for prooph components

1145.0k](/packages/prooph-http-middleware)[prooph/humus-amqp-producer

HumusAmqp Producer for Prooph Service Bus

1223.3k3](/packages/prooph-humus-amqp-producer)

PHPackages © 2026

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