PHPackages                             alphavel/events - 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. [Framework](/categories/framework)
4. /
5. alphavel/events

ActiveLibrary[Framework](/categories/framework)

alphavel/events
===============

Event dispatcher for Alphavel Framework

v1.0.0(5mo ago)00MITPHPPHP &gt;=8.4

Since Nov 26Pushed 5mo agoCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

Alphavel Events
===============

[](#alphavel-events)

> Event dispatcher with pub/sub pattern

[![PHP Version](https://camo.githubusercontent.com/9c2f8ad80d34105266a94c4c06234f8ed18c968d3595039c2d9a7becd1e71c8b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e342d626c75652e737667)](https://php.net)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

✨ Features
----------

[](#-features)

- 📢 **Event dispatcher** - Pub/sub pattern
- 🎯 **Laravel-compatible** - Familiar API
- 🔄 **Multiple listeners** - Per event
- 🚀 **Swoole-safe** - Coroutine-compatible

📦 Installation
--------------

[](#-installation)

```
composer require alphavel/events
```

🚀 Quick Start
-------------

[](#-quick-start)

```
use Event;

// Listen
Event::listen('user.created', function($user) {
    Log::info('New user', ['id' => $user->id]);
});

// Dispatch
Event::dispatch('user.created', $user);
```

📚 Documentation
---------------

[](#-documentation)

**Full documentation**:

📄 License
---------

[](#-license)

MIT License

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance70

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

173d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51c953df141d0cfd39946d3e417b2eb3106d96170c62c4c908a6cc0b75352883?d=identicon)[arthur4weber](/maintainers/arthur4weber)

---

Top Contributors

[![arthur2weber](https://avatars.githubusercontent.com/u/9046093?v=4)](https://github.com/arthur2weber "arthur2weber (14 commits)")

---

Tags

eventsobserverdispatcheralphavel

### Embed Badge

![Health badge](/badges/alphavel-events/health.svg)

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

###  Alternatives

[cakephp/event

CakePHP event dispatcher library that helps implementing the observer pattern

23319.7k13](/packages/cakephp-event)[yiisoft/middleware-dispatcher

PSR-15 middleware dispatcher

17369.2k13](/packages/yiisoft-middleware-dispatcher)

PHPackages © 2026

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