PHPackages                             alonity/eventhandler - 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. alonity/eventhandler

ActiveLibrary

alonity/eventhandler
====================

Alonity event handler

036PHP

Since Mar 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/alonity/EventHandler)[ Packagist](https://packagist.org/packages/alonity/eventhandler)[ RSS](/packages/alonity-eventhandler/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Event Handler
=============

[](#event-handler)

Simple event handler class

Install
-------

[](#install)

`composer require alonity/eventhandler`

### Examples

[](#examples)

```
use alonity\events\Handler;

require('vendor/autoload.php');

// Listen event "example"
Handler::listen('example', function(){
    echo 'Event "example" running';
});

// Call to event "example"
Handler::emit('example');
```

###  Health Score

16

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e5f56cbb91b132c04e03a2910f70a61ad19cb64da547f6f0761348f38347ae4?d=identicon)[alonity](/maintainers/alonity)

---

Top Contributors

[![alonity](https://avatars.githubusercontent.com/u/84131534?v=4)](https://github.com/alonity "alonity (3 commits)")

### Embed Badge

![Health badge](/badges/alonity-eventhandler/health.svg)

```
[![Health](https://phpackages.com/badges/alonity-eventhandler/health.svg)](https://phpackages.com/packages/alonity-eventhandler)
```

PHPackages © 2026

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