PHPackages                             robertbaelde/persisting-message-bus - 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. robertbaelde/persisting-message-bus

ActiveLibrary

robertbaelde/persisting-message-bus
===================================

0.0.3(2mo ago)321.2k1PHPCI passing

Since Sep 12Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/Robertbaelde/PersistingMessageBus)[ Packagist](https://packagist.org/packages/robertbaelde/persisting-message-bus)[ RSS](/packages/robertbaelde-persisting-message-bus/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (7)Used By (0)

Persisting message bus
======================

[](#persisting-message-bus)

This package will provide a message bus that persists its messages. This can be used for cross context communication with public events. The message bus will be for a topic. A topic is a set of event types.This allows for the consuming context to only know about the topic and its event types, and not where they originate from.

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

[](#installation)

```
composer require robertbaelde/persisting-message-bus
```

Usage
-----

[](#usage)

### Configuring a topic

[](#configuring-a-topic)

A topic is a set of message classes, mapped to a string name. Each topic must have a unique name.

```
