PHPackages                             gmbn/eventphp - 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. gmbn/eventphp

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

gmbn/eventphp
=============

Manipulate events with php

1.0.0(9y ago)174MITPHPPHP &gt;=5.4.0

Since Dec 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/GMBN/EventPHP)[ Packagist](https://packagist.org/packages/gmbn/eventphp)[ Docs](https://github.com/GMBN/EventPHP)[ RSS](/packages/gmbn-eventphp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

EventPHP
========

[](#eventphp)

Usage

```
$e = new \EventPHP\Event();//start global event

$e->on('pedidoFinalizado', function($codigo, $valor) use ($e){
    $r = $valor+=10;
    $e->trigger('pedidoCancelado', ['b001']);
    echo $r . "\n";
});

$e->on('pedidoFinalizado', function($codigo, $valor) {
    $r = $valor+=0;
    echo $r . "\n";
});

$e->on('pedidoCancelado', function($codigo) {

    echo "Cancelado ".$codigo."\n";
});

$e->trigger('pedidoFinalizado', [4, 10]);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3429d ago

### Community

Maintainers

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

---

Tags

phpeventjquerynodejseventos

### Embed Badge

![Health badge](/badges/gmbn-eventphp/health.svg)

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

PHPackages © 2026

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