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

ActiveFrdl-module[Utility &amp; Helpers](/categories/utility)

frdl/event-module
=================

Register EventHandlers to be lazy loaded.

v0.0.15(6y ago)02025MITPHPPHP &gt;=7.1

Since Dec 31Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/frdl/event-module)[ Packagist](https://packagist.org/packages/frdl/event-module)[ RSS](/packages/frdl-event-module/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (3)Versions (16)Used By (5)

event-module
============

[](#event-module)

Register EventHandlers in PHP to be lazy loaded.

Usage
=====

[](#usage)

### Configuration

[](#configuration)

Set the directory to save the events in.

```
$my_directory =  __DIR__.\DIRECTORY_SEPARATOR.'compiled-events';
 \Webfan\App\EventModule::setBaseDir($my_directory);
```

### Register Events

[](#register-events)

Register the events by your configuration/build script/process.

```
\Webfan\App\EventModule::register('test', 'testing', static function($eventName, $emitter, \webfan\hps\Event $Event){
       print_r($Event->getArgument("testParam"));
});
```

### Call Events

[](#call-events)

Dispatch the events later in a different script/process.

```
$event = new \webfan\hps\Event('testing');
$event->setArgument('testParam', 'testValue');
\Webfan\App\EventModule::action('test')->emit('testing', $event);
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance55

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

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

Every ~12 days

Recently: every ~0 days

Total

15

Last Release

2205d ago

PHP version history (2 changes)v0.0.1PHP &gt;=5.3

v0.0.7PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67333?v=4)[webfan](/maintainers/webfan)[@webfan](https://github.com/webfan)

---

Top Contributors

[![wehowski](https://avatars.githubusercontent.com/u/2658030?v=4)](https://github.com/wehowski "wehowski (47 commits)")

---

Tags

register-eventhandlers

### Embed Badge

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

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

###  Alternatives

[facuz/laravel-themes

Theme will help you organize your themes inside Laravel projects easily and maintain its related assets, layouts and partials for the theme in single directory. (Based on teepluss/theme)

13744.0k2](/packages/facuz-laravel-themes)[ackintosh/snidel

A multi-process container. It looks like multi-thread-ish.

1051.2k](/packages/ackintosh-snidel)[infocyph/intermix

A lightweight PHP DI container, invoker, serializer, and utility toolkit.

137.7k2](/packages/infocyph-intermix)[heptacom/heptaconnect-portal-base

HEPTAconnect base dataset that every other portal is based on

1025.3k17](/packages/heptacom-heptaconnect-portal-base)[codespede/simple-multi-threader

122.6k](/packages/codespede-simple-multi-threader)

PHPackages © 2026

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