PHPackages                             mulertech/event-manager - 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. mulertech/event-manager

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

mulertech/event-manager
=======================

This package manage events in your application

v1.0.0(1y ago)0461MITPHPPHP ^8.2CI passing

Since Mar 23Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/mulertech/event-manager)[ Packagist](https://packagist.org/packages/mulertech/event-manager)[ RSS](/packages/mulertech-event-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (1)

EventManager
============

[](#eventmanager)

---

[![Latest Version on Packagist](https://camo.githubusercontent.com/4ab46a3ff6c5673061c756cc4fda9a396ed0d9b7f4f9c1b05086b75a0b0a8d33/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d756c6572746563682f6576656e742d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mulertech/event-manager)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d4609d3f45cf9c85638ea3286feb516b7e95499ecb577ab080b71be9f9409768/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d756c6572746563682f6576656e742d6d616e616765722f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/mulertech/event-manager/actions/workflows/tests.yml)[![GitHub PHPStan Action Status](https://camo.githubusercontent.com/f1a074d819f3829a7c6226e9ef8e5abbdc37705fabe78990a22afb66d8403768/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d756c6572746563682f6576656e742d6d616e616765722f7068707374616e2e796d6c3f6272616e63683d6d61696e266c6162656c3d7068707374616e267374796c653d666c61742d737175617265)](https://github.com/mulertech/event-manager/actions/workflows/phpstan.yml)[![GitHub Security Action Status](https://camo.githubusercontent.com/d2c0ebbd2399261e8458b67ca085687679c3848f5a40cab8b6618c1e4b89f9a4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d756c6572746563682f6576656e742d6d616e616765722f73656375726974792e796d6c3f6272616e63683d6d61696e266c6162656c3d7365637572697479267374796c653d666c61742d737175617265)](https://github.com/mulertech/event-manager/actions/workflows/security.yml)[![Total Downloads](https://camo.githubusercontent.com/7e50dc3365ccc22fda36521a9bc09121ebf21c2177620a6cd52c225f7d2baa3b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d756c6572746563682f6576656e742d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mulertech/event-manager)[![Test Coverage](https://raw.githubusercontent.com/mulertech/event-manager/badge/badge-coverage.svg)](https://packagist.org/packages/mulertech/event-manager)

---

The MulerTech EventManager package is a simple event manager that allows you to register and trigger events in your PHP application.

---

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

[](#installation)

1. Add to your "**composer.json**" file into require section:

```
"muler/event-manager": "^1.0"

```

and run the command:

```
php composer.phar update

```

2. Run the command:

```
php composer.phar require muler/event-manager "^1.0"

```

Usage
-----

[](#usage)

###### Registering an event

[](#registering-an-event)

```
use Muler\EventManager\EventManager;

$eventManager = new EventManager();

$eventManager->addListener(new Listener());

// Into the class that calls the event
$eventManager->dispatch(new Event());
```

###### Creating a listener

[](#creating-a-listener)

```
use Muler\EventManager\ListenerInterface;

class Listener implements ListenerInterface
{
    public function handle(Event $event)
    {
        // Do something
    }
}
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance69

Regular maintenance activity

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~281 days

Total

2

Last Release

505d ago

Major Versions

0.1.0 → v1.0.02024-12-29

PHP version history (2 changes)0.1.0PHP &gt;=7.4

v1.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/357d309912bbc5318d9877d1369987d2390c8e034b637e9f20671c28b09b5119?d=identicon)[mulertech](/maintainers/mulertech)

---

Top Contributors

[![mulertech](https://avatars.githubusercontent.com/u/57788787?v=4)](https://github.com/mulertech "mulertech (14 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mulertech-event-manager/health.svg)

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

###  Alternatives

[symfony/event-dispatcher-contracts

Generic abstractions related to dispatching event

3.4k756.5M424](/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)
