# php-fig/event-dispatcher

Repository: https://github.com/php-fig/event-dispatcher
Canonical: https://ross.abutalabs.com/products/php-fig-event-dispatcher
Language: PHP
License: MIT
License Family: permissive
Last push: 2024-04-04T12:39:23+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3053, "days_push": 881, "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 2284, forks 23 (observed 2026-08-28T04:06:33.949535+00:00)

## What it is
php-fig/event-dispatcher holds the official PSR-14 interfaces describing the components of an event dispatcher in PHP. It is a specification package only, providing no implementation itself; concrete dispatchers are provided by third-party libraries.

## Use cases
- decouple application components with events
- standardize event dispatching across PHP libraries
- swap event dispatcher implementations without code changes
- build PSR-14 compliant frameworks or plugins
- define event and listener contracts in a package

## When to avoid
- you need a working event dispatcher with actual dispatch logic
- your project does not follow PSR standards and a concrete dispatcher is simpler
- you need features like async dispatch or priorities beyond the PSR-14 spec

## Facets
- artifact type: library
- maturity: stable
- function: middleware, plugin-system
- domain: developer-tools, web-development, backend, apis
- platform: php
- tags: psr-14, event-dispatcher, interfaces, standards, fig

## Member repositories
- php-fig/event-dispatcher (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:33.949535+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-30T02:41:06.374594+00:00, confidence not recorded.
  - readme: https://github.com/php-fig/event-dispatcher (fetched 2026-08-28T04:06:33.949535+00:00, sha d464141bffb2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
