PHPackages                             kuai6/event-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kuai6/event-bus

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kuai6/event-bus
===============

The Event Bus abstraction library

1.0.0(6y ago)0342MITPHPPHP ~7.2 || ~7.3CI failing

Since Dec 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kuai6/event-bus)[ Packagist](https://packagist.org/packages/kuai6/event-bus)[ Docs](https://github.com/kuai6/event-bus)[ RSS](/packages/kuai6-event-bus/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (2)Used By (2)

The Event Bus library
=====================

[](#the-event-bus-library)

[![Build Status](https://camo.githubusercontent.com/e423bdd7a9e4f167137847e56ed8c3b061b467096c10ef27541013d5277f1e5d/68747470733a2f2f7472617669732d63692e6f72672f6b756169362f6576656e742d6275732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kuai6/event-bus)

This library provide abstract classes and interfaces to implement simple and powerfull tool to communicate bettween your services or aplications.

Message
-------

[](#message)

Message it is kind of DTO (Data Transfer Object), wich contains business data of your service or application that need to be sent to another service or application. Message have a headers, content and raw attributes.

- Message::headers it is headers to tell your or target system what data message contains (the name of serializer data or content type of this message, etc)
- Message::raw it is attribue to store your own data
- Message::content - content

Drivers
-------

[](#drivers)

Drivers - abstraction layer to handle communication between infrastructure and application layer. According to DriverInterface driver **MUST** implements methods **to push** message into transport and **to get** message from transport. Also driver **MUST** implements method to **confirm** and **reject** messages. This library provides one specific driver - DriverChain.

- **DriverChain**It is simple driver to union your drivers into a collection. All configured drivers into chain will be fired consistently.

Metadata Reader
---------------

[](#metadata-reader)

Metadata reader - tool to read stored metadata of your messages or drivers. It may store configuration of your transport or message build schema.

Logger
------

[](#logger)

PSR Logger need to log all actions you need.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2334d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9960215?v=4)[Aleksei Kuleshov](/maintainers/kuai6)[@kuai6](https://github.com/kuai6)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/kuai6-event-bus/health.svg)

```
[![Health](https://phpackages.com/badges/kuai6-event-bus/health.svg)](https://phpackages.com/packages/kuai6-event-bus)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[tomaj/hermes

Simple php background processing library

38251.0k5](/packages/tomaj-hermes)[formapro/pvm

The library provides us with a frame to build a workflow or a business process such as BPMN. Could execute tasks in parallel or delayed tasks

36823.8k](/packages/formapro-pvm)[oat-sa/lib-lti1p3-core

OAT LTI 1.3 Core Library

36341.9k10](/packages/oat-sa-lib-lti1p3-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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