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

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

netolabs/simple-event-dispatcher
================================

Basic event dispatcher based on the PSR-14 standard

v0.1.0(6y ago)03MITPHPPHP &gt;=7.3CI failing

Since Mar 9Pushed 6y ago3 watchersCompare

[ Source](https://github.com/NetoECommerce/simple-event-dispatcher)[ Packagist](https://packagist.org/packages/netolabs/simple-event-dispatcher)[ RSS](/packages/netolabs-simple-event-dispatcher/feed)WikiDiscussions master Synced today

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

Simple Event Dispatcher for PHP
===============================

[](#simple-event-dispatcher-for-php)

Basic event dispatcher based on the PSR-14 standard.

Install
-------

[](#install)

Via Composer

```
$ composer require netolabs/simple-event-dispatcher
```

Requirements
------------

[](#requirements)

PHP version 7.3 and up is required.

Usage
-----

[](#usage)

### Adding a listener

[](#adding-a-listener)

```
$listenerProvider = new ListenerProvider();
$dispatcher = new EventDispatcher($listenerProvider);

$listenerProvider->addListener(MyEvent::class, function() {
    // ...
});
```

### Emitting an event

[](#emitting-an-event)

```
$event = new MyEvent();

$dispatcher->dispatch($event);
```

License
-------

[](#license)

The MIT License (MIT). Please see the [License File](https://github.com/NetoECommerce/simple-container/blob/master/LICENSE) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

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

2253d ago

### Community

Maintainers

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

---

Top Contributors

[![benplunkett](https://avatars.githubusercontent.com/u/41979330?v=4)](https://github.com/benplunkett "benplunkett (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[symfony/event-dispatcher-contracts

Generic abstractions related to dispatching event

3.4k756.5M423](/packages/symfony-event-dispatcher-contracts)[league/event

Event package

1.6k141.6M184](/packages/league-event)[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[yohang/finite

A simple PHP Finite State Machine

1.3k3.5M10](/packages/yohang-finite)[mcp/sdk

Model Context Protocol SDK for Client and Server applications in PHP

1.4k423.9k30](/packages/mcp-sdk)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)

PHPackages © 2026

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