Introduction
EventSourcerer is an event sourcing platform built for modern PHP applications. It provides everything you need to capture every change in your domain as an immutable event, replay history at any time, and build read models (projections) that stay perfectly in sync with your event streams.
Why EventSourcerer?
- PHP-first — designed from the ground up to feel familiar to PHP developers.
- Framework friendly — first-class clients for Laravel and Symfony, plus a generic PHP client.
- Real-time — connect via sockets to replay streams and react to new events instantly.
- Projections built in — declare read models and mutations through the dashboard, no boilerplate.
- Extensible — bring your own data types and mutation actions; integrate any language via the MCP server.
Core concepts at a glance
- Streams — append-only ordered sequences of events identified by a
StreamId. - Events — immutable facts that happened in your system (e.g.
ItemAddedToBasket). - Projections — read models materialised from events for fast querying.
- Mutations — rules that describe how a projection's state changes when an event occurs.
- Aggregates — domain objects rebuilt by replaying their event history.