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

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

aztech/event-dispatcher
=======================

Aztech Event Dispatcher

v1.1.5(11y ago)01.6k2MITPHP

Since Aug 15Pushed 11y ago2 watchersCompare

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

READMEChangelog (8)Dependencies (5)Versions (10)Used By (2)

event-dispatcher
================

[](#event-dispatcher)

### Build status

[](#build-status)

[![Build Status](https://camo.githubusercontent.com/be811d030734fd2b5ef5d0f84137b70b7c956d500821ae6de13f9f57b5c37e25/68747470733a2f2f7472617669732d63692e6f72672f6576656e742d6275732f6576656e742d646973706174636865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/event-bus/event-dispatcher)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/03dce002410c5443616ca30c438ac7414c62fa89d2fa341954c8cf20fb1120d2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6576656e742d6275732f6576656e742d646973706174636865722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/event-bus/event-dispatcher/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/7f3627b084cc382051bb135ba517f0b65bbe4f9e07b20c38f2e38cc3194bfeae/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6576656e742d6275732f6576656e742d646973706174636865722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/event-bus/event-dispatcher/?branch=master)[![HHVM Status](https://camo.githubusercontent.com/8e5274ca18fdb27c709c01ff6a872bcc2606bb002ad49231708b856d9ac1c265/687474703a2f2f6868766d2e683463632e64652f62616467652f617a746563682f6576656e742d646973706174636865722e706e67)](http://hhvm.h4cc.de/package/aztech/event-dispatcher)

### Stability

[](#stability)

[![Latest Stable Version](https://camo.githubusercontent.com/4218b32088f1d7b110ac717a452731bbc8ebec49c1f570f9ac0aeb253f25504b/68747470733a2f2f706f7365722e707567782e6f72672f617a746563682f6576656e742d646973706174636865722f762f737461626c652e706e67)](https://packagist.org/packages/aztech/event-dispatcher)[![Latest Unstable Version](https://camo.githubusercontent.com/076df7be391d1933900dd32be7ab6e97a04291bd4f0f484f158efb5601b1dc72/68747470733a2f2f706f7365722e707567782e6f72672f617a746563682f6576656e742d646973706174636865722f762f756e737461626c652e706e67)](https://packagist.org/packages/aztech/event-dispatcher)

License
-------

[](#license)

[![MIT](https://camo.githubusercontent.com/df43837c5701ebc2fc091fc53b65bfde2097b4f1f1933b9bc129c68e51a579ab/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d7265642e737667)](https://camo.githubusercontent.com/df43837c5701ebc2fc091fc53b65bfde2097b4f1f1933b9bc129c68e51a579ab/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d7265642e737667)

This library is released under the MIT license. Please see attached LICENSE file.

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

[](#installation)

### Via Composer

[](#via-composer)

Composer is the only supported way of installing *aztech/event-dispatcher* . Don't know Composer yet ? [Read more about it](https://getcomposer.org/doc/00-intro.md).

`$ composer require "aztech/event-dispatcher":"~1"`

Autoloading
-----------

[](#autoloading)

Add the following code to your bootstrap file :

```
require_once 'vendor/autoload.php';

```

Usage
-----

[](#usage)

As the name implies, *event-dispatcher* is a simple event dispatching library. Rather than a long speech, a simple example :

```
class MyEvent implements \Aztech\Events\Event
{
    function getCategory() {
        return 'my.event';
    }

    function getId() {
        return 1;
    }
}

$dispatcher = new \Aztech\Events\EventDispatcher();
$subscriber = new \Aztech\Events\Callback(function (\Aztech\Events\Event $event) {
    echo 'I just received an event : ' . $event->getCategory() . PHP_EOL;
});

$dispatcher->addListener('my.#', $subscriber);
$dispatcher->dispatch(new MyEvent());
```

Contributing
------------

[](#contributing)

All contributions are welcome, via issues and pull requests.

When submitting a pull request, please ensure that your changes validate against the test suite and style checkers by running `make test`. All tests must pass (make must return 0).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 91.3% 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 ~27 days

Total

8

Last Release

4099d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58d21270e5d40f7ee05bb875b2442496ffd38cec041f7fdcc507b8b040f7e7f8?d=identicon)[thibaud-evaneos](/maintainers/thibaud-evaneos)

---

Top Contributors

[![aztech-dev](https://avatars.githubusercontent.com/u/93562568?v=4)](https://github.com/aztech-dev "aztech-dev (21 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[j0k3r/php-readability

Automatic article extraction from HTML

186808.8k6](/packages/j0k3r-php-readability)[symfony/ai-platform

PHP library for interacting with AI platform provider.

51927.7k136](/packages/symfony-ai-platform)[symfony/ai-agent

PHP library for building agentic applications.

30536.7k44](/packages/symfony-ai-agent)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

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