# igorw/evenement

Événement is a very simple event dispatching library for PHP.

Repository: https://github.com/igorw/evenement
Canonical: https://ross.abutalabs.com/products/evenement
Language: PHP
License: MIT
License Family: permissive
Last push: 2025-12-26T18:20:45+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 59, release rhythm 35, longevity 100
- inputs: {"age_days": 5496, "days_push": 250, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1357, forks 73 (observed 2026-08-28T04:04:29.496368+00:00)

## What it is
Événement is a very simple event dispatching library for PHP, inspired by Node.js's EventEmitter API. It lets you register listeners, remove them, and emit events with a minimal, concise API.

## Use cases
- add an event emitter to a PHP application
- dispatch custom events and notify listeners
- decouple components with a pub/sub pattern
- hook into lifecycle events like user.created
- implement observer pattern in PHP

## When to choose
- you need a lightweight, dependency-free event system in PHP
- you want a Node.js-style EventEmitter API
- you need simple on/emit/removeListener semantics

## When to avoid
- you need advanced features like event subscribers, priorities, or propagation stopping (use Symfony EventDispatcher)
- you need asynchronous or queued event processing
- you need PSR-14 compliant event dispatching

## Facets
- artifact type: library
- maturity: stable
- function: middleware
- domain: developer-tools, web-development
- platform: php
- tags: event-emitter, event-dispatching, pubsub, observer-pattern

## Member repositories
- igorw/evenement (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:29.496368+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:50.524659+00:00, confidence not recorded.
  - readme: https://github.com/igorw/evenement (fetched 2026-08-28T04:04:29.496368+00:00, sha eba3b0f9575f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
