PHPackages                             eventsauce/doctrine-outbox-message-dispatcher - 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. eventsauce/doctrine-outbox-message-dispatcher

ActiveLibrary

eventsauce/doctrine-outbox-message-dispatcher
=============================================

Doctrine Message Dispatcher for EventSauce

0.1.0(6y ago)23791[1 issues](https://github.com/EventSaucePHP/DoctrineOutboxMessageDispatcher/issues)[1 PRs](https://github.com/EventSaucePHP/DoctrineOutboxMessageDispatcher/pulls)MITPHP

Since Nov 25Pushed 4y agoCompare

[ Source](https://github.com/EventSaucePHP/DoctrineOutboxMessageDispatcher)[ Packagist](https://packagist.org/packages/eventsauce/doctrine-outbox-message-dispatcher)[ RSS](/packages/eventsauce-doctrine-outbox-message-dispatcher/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Doctrine Message Dispatcher for EventSauce
==========================================

[](#doctrine-message-dispatcher-for-eventsauce)

[![Build Status](https://github.com/EventSaucePHP/DoctrineOutboxMessageDispatcher/workflows/Tests/badge.svg)](https://github.com/EventSaucePHP/DoctrineOutboxMessageDispatcher/actions)

```
composer require eventsauce/doctrine-outbox-message-dispatcher
```

Rationale
---------

[](#rationale)

The outbox pattern is a way to ensure reliable dispatching of events. In this dispatcher events are stored in a database table. A background process is then responsible to retrieving the stored events and pushing them onto a regular queue for consumption.

You can use a tool like [debezium.io](https://debezium.io/) to dispatch your events to kafka, or use your own queueing solution.

Usage:

```
