2017 © Pedro Peláez
 

library athrois

image

drx777/athrois

  • Tuesday, August 4, 2015
  • by drx777
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Athrois build status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

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., (*2)

Name

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

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)., (*4)

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., (*5)

Install via composer

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

Usage

see example/demo01.php …, (*6)

The Versions

04/08 2015

dev-master

9999999-dev

  Sources   Download

MIT

The Development Requires