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

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

labcake/event
=============

A simple event handler in PHP

015PHP

Since Jun 16Pushed 7y agoCompare

[ Source](https://github.com/LabCake/Event)[ Packagist](https://packagist.org/packages/labcake/event)[ RSS](/packages/labcake-event/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Event
=====

[](#event)

Easy event handler and emitter for php

Usage example

```
\LabCake\Event::register("test_event", function ($arg1, $arg2) {
    var_dump($arg1);
    var_dump($arg2);
});

\LabCake\Event::trigger("test_event", array("Hello", "World"));
```

Documentation not yet complete

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/988667d628a3f5790a4231ecc986643df8915df9174301287156368fe208c7da?d=identicon)[LabCake](/maintainers/LabCake)

---

Top Contributors

[![Wuild](https://avatars.githubusercontent.com/u/381189?v=4)](https://github.com/Wuild "Wuild (8 commits)")

---

Tags

eventevent-emitterevent-handlerphp

### Embed Badge

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

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

###  Alternatives

[efficiently/larasset

Larasset is a library for Laravel 5 which manage assets in an easy way.

684.8k](/packages/efficiently-larasset)[phpfluent/callback

Allows you execute callbacks in a more dynamic way

1159.2k1](/packages/phpfluent-callback)

PHPackages © 2026

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