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

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

ivan-petrunko/event-dispatcher
==============================

PHP event dispatcher.

1.0.5(2y ago)043MITPHPPHP ^7.4 || ~8.2

Since Oct 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ivan-petrunko/event-dispatcher)[ Packagist](https://packagist.org/packages/ivan-petrunko/event-dispatcher)[ RSS](/packages/ivan-petrunko-event-dispatcher/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

PHP Event Dispatcher
====================

[](#php-event-dispatcher)

Pretty simple Event Dispatcher implemented in PHP.

Installation
------------

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install PHP Event Dispatcher.

```
$ composer require ivan-petrunko/event-dispatcher
```

Usage
-----

[](#usage)

Take a look at unit-tests &amp; you gonna understand how to use this library:

- [InMemoryEventDispatcherTest](tests/Petrunko/EventDispatcher/Dispatcher/InMemoryEventDispatcherTest.php)

P.S.
----

[](#ps)

Feel free to use it however you want :)

Pull requests are welcome.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity70

Established project with proven stability

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 ~233 days

Recently: every ~291 days

Total

6

Last Release

855d ago

PHP version history (4 changes)1.0.0PHP ^7.4

1.0.3PHP &gt;=7.4 || &gt;=8.0

1.0.4PHP ^7.4 || ^8.0

1.0.5PHP ^7.4 || ~8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b67a5196b1a7157ee1f46dc4e524716d4a072e720faa4782795e9a1edfb3763?d=identicon)[ivan\_petrunko](/maintainers/ivan_petrunko)

---

Tags

phpeventhandlerlistenerdispatcher

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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