Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Domain-Driven Design
  3. Broadway

Broadway

MITPHP2.5.0

Infrastructure and testing helpers for building CQRS and event-sourced applications in PHP.

Visit WebsiteGitHubGitHub
1.5k stars171 forks0 contributors

What is Broadway?

Broadway is a PHP framework that provides infrastructure and testing helpers for building applications using CQRS (Command Query Responsibility Segregation) and event sourcing patterns. It offers loosely coupled components to implement these architectures, helping developers manage complex domain logic with clear separation of commands, queries, and events.

Target Audience

PHP developers building scalable, maintainable applications with complex business logic, particularly those adopting domain-driven design, CQRS, or event sourcing patterns.

Value Proposition

Developers choose Broadway because it provides essential CQRS/ES infrastructure without getting in the way, offers decoupled components for flexibility, and includes dedicated testing helpers to ensure reliability in event-sourced systems.

Overview

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

Use Cases

Best For

  • Implementing event-sourced aggregates in PHP applications
  • Building scalable systems with CQRS architecture
  • Testing complex domain logic in event-driven systems
  • Adopting domain-driven design with event sourcing
  • Creating maintainable applications with clear command/query separation
  • Developing applications that require audit trails and event replay

Not Ideal For

  • Projects requiring simple CRUD operations without complex business logic
  • Teams needing a full-stack framework with built-in HTTP handling and templating
  • Applications where real-time event processing is a primary requirement
  • Developers who prefer convention-over-configuration frameworks with minimal setup

Pros & Cons

Pros

Decoupled Component Design

Components are loosely coupled, allowing independent use or full CQRS/ES integration, as highlighted in the README's emphasis on flexibility.

Specialized Testing Tools

Includes helpers for testing event-sourced aggregates and command handlers, making it easier to ensure domain logic correctness in complex systems.

Non-Intrusive Infrastructure

Designed to stay out of the way, providing necessary CQRS/ES building blocks without imposing rigid constraints, inspired by frameworks like Axon.

Proven Pattern Inspiration

Draws from established CQRS frameworks like Axon Framework and Ncqrs, ensuring well-architected components based on industry best practices.

Cons

Additional Setup Required

Lacks built-in persistence for event stores and read models, requiring developers to integrate external solutions, which adds complexity.

Complex Pattern Dependency

Requires thorough understanding of CQRS and event sourcing concepts, which can be a barrier for teams new to these architectural patterns.

Ecosystem Limitations

As a niche framework, it has a smaller community and fewer third-party integrations compared to mainstream PHP frameworks like Laravel or Symfony.

Documentation Fragmentation

Detailed documentation is hosted on a separate site (broadway.github.io), which might not be as accessible or regularly updated as inline documentation.

Frequently Asked Questions

Quick Stats

Stars1,510
Forks171
Contributors0
Open Issues0
Last commit5 months ago
CreatedSince 2014

Tags

#cqrs#testing-helpers#event-store#event-sourcing#domain-driven-design#infrastructure#command-handler#php

Built With

C
Composer
P
PHP

Links & Resources

Website

Included in

PHP32.5kDomain-Driven Design12.2k
Auto-fetched 16 hours ago

Related Projects

SwooleSwoole

🚀 Coroutine-based concurrency library for PHP

Stars18,900
Forks3,148
Last commit3 days ago
WorkermanWorkerman

An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.

Stars11,552
Forks2,254
Last commit21 days ago
ReactPHPReactPHP

Event-driven, non-blocking I/O with PHP.

Stars9,089
Forks714
Last commit1 year ago
RatchetRatchet

Asynchronous WebSocket server

Stars6,436
Forks791
Last commit1 month ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub