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

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

liquidrazor/event-manager
=========================

Deterministic event infrastructure for immutable event contracts, registries, and synchronous dispatch.

v0.1.0(3mo ago)05↓92.3%5MITPHPPHP ^8.3

Since Apr 3Pushed 3mo agoCompare

[ Source](https://github.com/LiquidRazor/EventManager)[ Packagist](https://packagist.org/packages/liquidrazor/event-manager)[ Docs](https://github.com/LiquidRazor/EventManager)[ RSS](/packages/liquidrazor-event-manager/feed)WikiDiscussions main Synced today

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

liquidrazor/event-manager
=========================

[](#liquidrazorevent-manager)

Overview
--------

[](#overview)

`liquidrazor/event-manager` is a PHP 8.3 library for deterministic event infrastructure.

It provides:

- immutable event contracts
- kernel-state and process event family markers
- lockable event registries
- strict event validation and classification
- synchronous listener dispatch
- loader primitives for externally discovered classes

It does not provide:

- concrete kernel lifecycle events
- concrete process event catalogs
- filesystem scanning
- async or distributed event delivery
- framework-specific wiring

The package is designed to work alongside discovery tools such as `liquidrazor/file-locator` and `liquidrazor/class-locator`, while keeping event semantics outside this repository.

Documentation
-------------

[](#documentation)

- [Overview](docs/01_overview/overview.md)
- [Architecture](docs/02_architecture/architecture.md)
- [Core Concepts](docs/03_core_concepts/concepts.md)
- [Registry](docs/04_registry/registry.md)
- [Dispatch](docs/05_dispatch/dispatch.md)
- [Loading](docs/06_loading/loading.md)
- [Validation](docs/07_validation/validation.md)
- [Testing](docs/08_testing/testing.md)

Key Guarantees
--------------

[](#key-guarantees)

- Concrete events must implement exactly one supported family: `KernelStateEventInterface` or `ProcessEventInterface`.
- Dispatch is synchronous and deterministic: listeners are ordered by priority, then by registration sequence.
- Registries are family-specific and lockable, and the process registry advertises additive-only behavior.
- Discovery remains external; this package validates and loads discovered metadata but does not scan the filesystem.

Implementation Notes
--------------------

[](#implementation-notes)

- `StrictEventValidator` performs both event family resolution and validation.
- `DiscoveredEventLoader` routes validated `DiscoveredClass` metadata into the correct registry.
- `KernelEventRegistry` and `ProcessEventRegistry` enforce family segregation, duplicate protection, and lock checks.
- `OrderedListenerProvider` and `SynchronousEventDispatcher` provide explicit, in-process listener execution.

Registry phase timing is architectural policy, not automatic runtime behavior in this package. The code provides locking primitives; the integrating application decides when registries are locked.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance82

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

92d ago

### Community

Maintainers

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

---

Top Contributors

[![Noramarth](https://avatars.githubusercontent.com/u/4306922?v=4)](https://github.com/Noramarth "Noramarth (2 commits)")

---

Tags

eventslistenerdispatchersubscriberregistryliquidrazor

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[jbzoo/event

Library for event-based development

29784.8k5](/packages/jbzoo-event)[slince/event-dispatcher

Event dispatcher package

106.1k2](/packages/slince-event-dispatcher)

PHPackages © 2026

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