PHPackages                             drx777/athrois - 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. drx777/athrois

ActiveLibrary

drx777/athrois
==============

06PHP

Since Aug 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/drx777/Athrois)[ Packagist](https://packagist.org/packages/drx777/athrois)[ RSS](/packages/drx777-athrois/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (1)Used By (0)

[![Athrois build status](https://camo.githubusercontent.com/b0e5708118c1c1bb243310fe81aa8930971df81d18674e8d34450ce0864cefa8/68747470733a2f2f7472617669732d63692e6f72672f6472783737372f417468726f69732e7376673f6272616e63683d6d6173746572 "Athrois build status")](https://camo.githubusercontent.com/b0e5708118c1c1bb243310fe81aa8930971df81d18674e8d34450ce0864cefa8/68747470733a2f2f7472617669732d63692e6f72672f6472783737372f417468726f69732e7376673f6272616e63683d6d6173746572)[![Coverage Status](https://camo.githubusercontent.com/c4c9f3ed163db2e91cfcee6ac98d7bc271783317689cfca637788f9bf2a8d364/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6472783737372f417468726f69732f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/drx777/Athrois?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/26acc093506e8610fcf229a0a2ac8b3340a91bbf71d24eb1a253e9156b484863/68747470733a2f2f706f7365722e707567782e6f72672f6472783737372f617468726f69732f762f737461626c65)](https://packagist.org/packages/drx777/athrois) [![Total Downloads](https://camo.githubusercontent.com/b20b3256eebfd8ca521bda48fded5983bed65650b884cc674e944e7904579157/68747470733a2f2f706f7365722e707567782e6f72672f6472783737372f617468726f69732f646f776e6c6f616473)](https://packagist.org/packages/drx777/athrois) [![Latest Unstable Version](https://camo.githubusercontent.com/154e4087838d0e71fe704a34504f210ab7b98f12d131820026adf31df765f96d/68747470733a2f2f706f7365722e707567782e6f72672f6472783737372f617468726f69732f762f756e737461626c65)](https://packagist.org/packages/drx777/athrois) [![License](https://camo.githubusercontent.com/0170a915adfaf568bbb93d00866e9625b1f745eaf589e424e38a9d22d701bee1/68747470733a2f2f706f7365722e707567782e6f72672f6472783737372f617468726f69732f6c6963656e7365)](https://packagist.org/packages/drx777/athrois)

Athrois: A PHP Message Bus
--------------------------

[](#athrois-a-php-message-bus)

Athrois is a lightweight sample implementation in PHP of a centralized message bus, a variant of the Publish/Subscribe pattern.

### Name

[](#name)

Everything needs a name. Athrois is derived from Greek “ἄθροισις”, which means to collect. This implementation uses a pool to “collect” various different listeners.

### Structure

[](#structure)

There is a central pool object of type `Athrois\Pool`, which accepts listeners to register for events. Your listeners need to implement the `Athrois\Listener` interface (`notify()`); events need to implement the `Athrois\Event` interface (methodless).

### Status

[](#status)

Not intended for production use, this is an example. If you happen to find any real world use, let me know how it works out.

### Install via composer

[](#install-via-composer)

```
"require": {
    …
    "drx777/athrois": "dev-master"
},
"repositories": [
    {
		"type": "vcs",
		"url": "git://github.com/drx777/Athrois.git"
    }
],

```

### Usage

[](#usage)

see example/demo01.php …

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/199812?v=4)[David Rekowski](/maintainers/drx777)[@drx777](https://github.com/drx777)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/drx777-athrois/health.svg)

```
[![Health](https://phpackages.com/badges/drx777-athrois/health.svg)](https://phpackages.com/packages/drx777-athrois)
```

PHPackages © 2026

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