# broadway/broadway

Infrastructure and testing helpers for creating CQRS and event sourced applications.

Repository: https://github.com/broadway/broadway
Canonical: https://ross.abutalabs.com/products/broadway-broadway
Homepage: http://labs.qandidate.com/blog/2014/08/26/broadway-our-cqrs-es-framework-open-sourced/
Language: PHP
License: MIT
License Family: permissive
Archived: true
Last push: 2026-08-09T19:20:52+00:00

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

## Adoption (not part of the score)
Stars 1509, forks 171 (observed 2026-08-28T04:04:55.711543+00:00)

## What it is
Broadway is a PHP library providing infrastructure and testing helpers for building CQRS and event-sourced applications. It offers loosely coupled components such as command handling, domain events, event dispatching, and read-model projections that can be combined for a full CQRS/ES experience.

## Use cases
- build a CQRS application in PHP
- implement event sourcing for my domain model
- create read models with projectors from domain events
- dispatch commands through a command bus
- test event-sourced aggregates
- add an audit trail to command handling

## When to choose
- you are building a PHP application with CQRS and/or event sourcing architecture
- you want loosely coupled components you can adopt incrementally
- you need testing helpers for event-sourced domain code

## When to avoid
- you want a full-stack framework rather than infrastructure helpers
- your project does not use CQRS or event sourcing patterns
- you are not working in PHP

## Facets
- artifact type: library
- maturity: active
- function: middleware, testing, message-queue
- domain: backend, web-development, developer-tools, apis
- platform: php, cli
- tags: cqrs, event-sourcing, php, ddd, command-bus, read-models, projectors, saga

## Member repositories
- broadway/broadway (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.711543+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:32:29.102665+00:00, confidence not recorded.
  - readme: https://github.com/broadway/broadway (fetched 2026-08-28T04:04:55.711543+00:00, sha b3f9ee1e3204)
  - homepage: http://labs.qandidate.com/blog/2014/08/26/broadway-our-cqrs-es-framework-open-sourced/ (fetched 2026-08-29T11:36:39.979526+00:00, sha d7cc282dea3a)
  - site_page: https://labs.qandidate.com/about (fetched 2026-08-29T11:36:39.982281+00:00, sha 1795ddde5233)
- Data as of 2026-08-30T08:39:29.467469+00:00.
