2017 © Pedro Peláez
 

library event-mediator

A general event mediator (dispatcher) which has minimal dependencies so it is easy to drop in and use.

image

dragonrun1/event-mediator

A general event mediator (dispatcher) which has minimal dependencies so it is easy to drop in and use.

  • Wednesday, July 18, 2018
  • by Dragonaire
  • Repository
  • 1 Watchers
  • 2 Stars
  • 327 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Event-Mediator

SensioLabsInsightbr/br/ Travis-ci: Build Statusbr/ Scrutinizer-ci: Scrutinizer Code Qualitybr/ Coveralls: Coverage Status, (*1)

A general event mediator (dispatcher) with minimal dependencies so it is easy to drop in and use., (*2)

Installing

The recommended way to install Event-Mediator is using Composer from Packagist with:, (*3)

composer require dragonrun1/event-mediator, (*4)

You can also get it as a zip file from GitHub., (*5)

Licensing

Licensing information can be found in the LICENSE file., (*6)

Introduction

Most people might know event mediator as an event dispatcher instead and both names would have worked. The reason I choose to call it a mediator is it follows the mediator pattern. For those of you that are familiar with Symfony 2 and it's EventDispatcher component then Event Mediator started out as basically a drop in replace for it without the (IMHO) huge dependence overhead often seen with Symfony components. Event Mediator has since grown into something better since then I think., (*7)

To get a better understanding about Event-Mediator and how you might use it check out Understanding Event-Mediator, (*8)

Changes

  • Started new 2.0-dev branch with many BC breaking changes.
  • The 1.0 series is now end of life and all application developers should update to newer 2.0 versions ASAP. If your code only used the listener methods the move should be easy with few changes needed. If application uses any of the subscriber stuff you will need to update the returned event array to reflect the new expected format., (*9)

    For a more complete understand of the changes refer to the commit messages and new code., (*10)

The Versions

18/07 2018

dev-master

9999999-dev https://github.com/Dragonrun1/event-mediator

A general event mediator (dispatcher) which has minimal dependencies so it is easy to drop in and use.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Michael Cummings

31/07 2016

2.0.0

2.0.0.0 https://github.com/Dragonrun1/event-mediator

A general event mediator (dispatcher) which has minimal dependencies so it is easy to drop in and use.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Michael Cummings

16/07 2016

1.0.1

1.0.1.0 https://github.com/Dragonrun1/event-mediator

A general event mediator (dispatcher) which has minimal dependencies so it is easy to drop in and use.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Michael Cummings

07/01 2016

1.0.0

1.0.0.0

A general event mediator (dispatcher) which has minimal dependencies so it is easy to drop in and use.

  Sources   Download

GPL-2.0

The Requires

 

The Development Requires

by Michael Cummings