# jorge07/symfony-7-es-cqrs-boilerplate

Symfony 7 DDD ES CQRS backend boilerplate.

Repository: https://github.com/jorge07/symfony-7-es-cqrs-boilerplate
Canonical: https://ross.abutalabs.com/products/symfony-7-es-cqrs-boilerplate
Language: PHP
License: MIT
License Family: permissive
Topics: symfony, event-sourcing, cqrs, cqrs-es, ddd, symfony-flex, backend, docker, hacktoberfest
Last push: 2026-08-09T20:30:44+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 3165, "days_push": 24, "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 1088, forks 186 (observed 2026-08-28T04:03:32.442955+00:00)

## What it is
A Symfony 7 / PHP 8.3 backend boilerplate demonstrating Domain-Driven Design, CQRS, and Event Sourcing patterns. It ships with Docker-based setup, Symfony Messenger command/query buses, an event store, read-model projections, async event subscribers, and a REST API with Swagger docs.

## Use cases
- start a new PHP backend with DDD and CQRS architecture
- learn event sourcing with Symfony Messenger
- bootstrap a Symfony 7 project with command and query buses
- set up event store with read model projections
- scaffold a REST API backend with Docker and RabbitMQ
- study a reference implementation of CQRS-ES in PHP

## When to choose
- you want a battle-tested starting point for DDD/CQRS/event sourcing in Symfony
- you need a full Dockerized stack with MySQL, Elasticsearch, and RabbitMQ out of the box
- you want to learn or teach CQRS-ES patterns in PHP

## When to avoid
- you need a simple CRUD app without architectural overhead
- your stack is not PHP/Symfony
- you want a production framework rather than a reference/starting template

## Facets
- artifact type: learning-resource
- maturity: active
- function: web-framework, message-queue, api-framework, middleware
- domain: backend, web-development, developer-tools, apis
- platform: php, self-hosted
- tags: cqrs, event-sourcing, ddd, symfony, boilerplate, php8, elasticsearch, rabbitmq, messenger, rest-api, boilerplate, docker, linux, macos

## Member repositories
- jorge07/symfony-7-es-cqrs-boilerplate (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.442955+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-30T08:33:36.378423+00:00, confidence not recorded.
  - readme: https://github.com/jorge07/symfony-7-es-cqrs-boilerplate (fetched 2026-08-28T04:03:32.442955+00:00, sha d93a538ef30b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
