PHPackages                             yigitcukuren/event-dispatcher - 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. yigitcukuren/event-dispatcher

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

yigitcukuren/event-dispatcher
=============================

Simple PSR-14 Event Dispatcher

v1.0.1(5y ago)14PHP

Since Sep 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/yigitcukuren/event-dispatcher)[ Packagist](https://packagist.org/packages/yigitcukuren/event-dispatcher)[ RSS](/packages/yigitcukuren-event-dispatcher/feed)WikiDiscussions master Synced 2d ago

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

yigitcukuren/event-dispatcher
=============================

[](#yigitcukurenevent-dispatcher)

Simple PSR-14 Event Dispatcher

Example Usage
-------------

[](#example-usage)

```
use App\Events\AppOpened;
use App\Listeners\First;
use App\Listeners\Second;
use YigitCukuren\Events\EventDispatcher;
use YigitCukuren\Events\ListenerProvider\PriorityListenerProvider;

$dispatcher = new EventDispatcher(new PriorityListenerProvider());
$dispatcher->subscribe(AppOpened::class, new First(), 0);
$dispatcher->subscribe(AppOpened::class, new Second(), 1);
$dispatcher->subscribe(AppOpened::class, function (AppOpened $event) {
  echo '';
  var_dump($event);
}, 2);

$dispatcher->dispatch(new AppOpened('app'));
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~0 days

Total

2

Last Release

2051d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

eventpsr-14event dispatcher

### Embed Badge

![Health badge](/badges/yigitcukuren-event-dispatcher/health.svg)

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

###  Alternatives

[phly/phly-event-dispatcher

Experimental event dispatcher for PSR-14

26209.9k4](/packages/phly-phly-event-dispatcher)

PHPackages © 2026

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