PHPackages                             andreo/eventsauce-outbox - 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. andreo/eventsauce-outbox

AbandonedLibrary[Queues &amp; Workers](/categories/queues)

andreo/eventsauce-outbox
========================

Extended message outbox components for EventSauce.

01641PHP

Since Jul 24Pushed 11mo agoCompare

[ Source](https://github.com/andreo-code/eventsauce-outbox)[ Packagist](https://packagist.org/packages/andreo/eventsauce-outbox)[ RSS](/packages/andreo-eventsauce-outbox/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (9)Versions (8)Used By (1)

eventsauce-outbox 3.0
---------------------

[](#eventsauce-outbox-30)

Extended message outbox components for EventSauce

```
composer require andreo/eventsauce-outbox
```

### Requirements

[](#requirements)

- PHP &gt;=8.2
- Symfony console ^6.2

#### Previous version docs

[](#previous-version-docs)

- [2.0](https://github.com/eventsauce-symfony/eventsauce-outbox/tree/2.0.1)

### Repository without message dispatching

[](#repository-without-message-dispatching)

```
use Andreo\EventSauce\Outbox\Repository\EventSourcedAggregateRootRepositoryForOutbox;

new EventSourcedAggregateRootRepositoryForOutbox(
    aggregateRootClassName: $aggregateRootClassName,
    messageRepository: $messageRepository, // EventSauce\EventSourcing\MessageRepository
    regularRepository: $regularRepository // EventSauce\EventSourcing\AggregateRootRepository
)
```

### Forwarding message consumer

[](#forwarding-message-consumer)

This consumer dispatch messages through the message dispatcher to the queuing system

```
use Andreo\EventSauce\Outbox\MessageConsumer\ForwardingMessageConsumer;

new ForwardingMessageConsumer(
    messageDispatcher: $messageDispatcher // EventSauce\EventSourcing\MessageDispatcher
)
```

### Command to dispatching messages from the outbox

[](#command-to-dispatching-messages-from-the-outbox)

```
use Andreo\EventSauce\Outbox\Command\OutboxMessagesConsumeCommand;

new OutboxMessagesConsumeCommand(
    relays: $relays, // Symfony\Component\DependencyInjection\ServiceLocator
    logger: $logger, // ?Psr\Log\LoggerInterface
)
```

```
php bin/console andreo:eventsauce:message-outbox:consume foo-relay-id
```

#### Command options

[](#command-options)

**relays**

- required
- string\[\]

`Relay ids registered in service locator`

**--run=true**

- optional
- default: true

`Processing messages run`

**--batch-size=100**

`How many messages are to be retrieve batch`

- optional
- default: 100

**--commit-size=1**

`How many messages are to be committed at once`

- optional
- default: 1

**--sleep=1**

`Number of seconds to sleep if the repository is empty`

- optional
- default: 1

**--limit=-1**

`How many times messages are to be processed`

- optional
- default: -1 (infinity)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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 ~71 days

Total

7

Last Release

1204d ago

Major Versions

1.0.0 → 2.0.02022-05-22

2.0.1 → 3.02023-02-03

PHP version history (2 changes)1.0.0PHP ^8.1

3.0PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/106359?v=4)[andreo](/maintainers/andreo)[@andreo](https://github.com/andreo)

---

Top Contributors

[![andreo-code](https://avatars.githubusercontent.com/u/18660333?v=4)](https://github.com/andreo-code "andreo-code (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/andreo-eventsauce-outbox/health.svg)

```
[![Health](https://phpackages.com/badges/andreo-eventsauce-outbox/health.svg)](https://phpackages.com/packages/andreo-eventsauce-outbox)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11249.0k1](/packages/ecotone-symfony-bundle)

PHPackages © 2026

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