PHPackages                             codin/events - 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. codin/events

ActiveLibrary

codin/events
============

PSR-14 Event dispatcher

1.0.0(3y ago)010GPL-3.0PHPPHP &gt;=7.3

Since Dec 16Pushed 3y agoCompare

[ Source](https://github.com/codin/events)[ Packagist](https://packagist.org/packages/codin/events)[ RSS](/packages/codin-events/feed)WikiDiscussions master Synced 1w ago

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

Event Dispatcher
================

[](#event-dispatcher)

[![version](https://camo.githubusercontent.com/34115b007866066dda0342a0e94cf7b61a7bde6006dec20b3b84391c6f551245/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f636f64696e2f6576656e7473)](https://camo.githubusercontent.com/34115b007866066dda0342a0e94cf7b61a7bde6006dec20b3b84391c6f551245/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f636f64696e2f6576656e7473)[![workflow](https://camo.githubusercontent.com/d542837226bf9b4100141651b35faac6d59802b4fdf2d9bea912adb3673f88a4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f636f64696e2f6576656e74732f436f6d706f736572)](https://camo.githubusercontent.com/d542837226bf9b4100141651b35faac6d59802b4fdf2d9bea912adb3673f88a4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f636f64696e2f6576656e74732f436f6d706f736572)[![license](https://camo.githubusercontent.com/15b9b1a0b47713445bda022f20dbc561bc3a60e11ef5d41223207331f81a1677/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64696e2f6576656e7473)](https://camo.githubusercontent.com/15b9b1a0b47713445bda022f20dbc561bc3a60e11ef5d41223207331f81a1677/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64696e2f6576656e7473)

PSR-14 Compatible event dispatcher

Usage

```
class MyListener implements \Psr\EventDispatcher\ListenerProviderInterface
{
    public function getListenersForEvent(object $event) : iterable
    {
        yield static function (MyEvent $event) {
            echo "$event->message\n";
        };
    }
}

class MyEvent {
    public string $message = 'Hello World';
}

$dispatcher = new Codin\Events\EventDispatcher();
$dispatcher->registerListener(new MyListener());
$dispatcher->dispatch(new MyEvent());
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1250d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/caaa77e482db0b7e6340c815a767adfa0c910d7ad437427a51702a619a202de9?d=identicon)[rwarasaurus](/maintainers/rwarasaurus)

---

Top Contributors

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

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/codin-events/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[symfony/mailer

Helps sending emails

1.6k368.1M955](/packages/symfony-mailer)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

1225.3M72](/packages/web-auth-webauthn-lib)

PHPackages © 2026

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