#105105th of 110 in Backend and cloud templates
symfony-7-es-cqrs-boilerplate
Symfony 7 reference app for DDD, CQRS and event sourcing
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 1.1k
- License
- MIT
- Last commit
- Aug 2026
- Language
- PHP
1,080 on 2 May 20261,084 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
PHP 8.3 and Symfony 7 boilerplate showing domain-driven design, CQRS and event sourcing with Symfony Messenger. It includes an event store, a read model, async event subscribers, a REST API with Swagger docs, and a user flow (sign up, change email, sign in, logout). It runs through Docker Compose with MySQL, Elasticsearch/Kibana and RabbitMQ. It has no AI features.
Who it is for: PHP developers learning DDD, CQRS and event sourcing on Symfony
Strengths
- Working event store, read model and async subscribers in one small codebase
- Makefile targets for setup, PHPUnit, PHPStan and code style checks
- Docs cover buses, use cases, projections, async processing and Kubernetes deployment
- Older Symfony 4, 5 and 6 versions kept on separate branches
Weaknesses
- Contains no AI or model integration; not an AI starter
- Pinned to Elasticsearch and Kibana 7.11.0, an old release
- README calls the web UI poor UX; the demo use case is only user accounts
- Needs MySQL, Elasticsearch and RabbitMQ running, heavy for a small demo
What it needs
- PHP
- Needs MySQL 8.0, Elasticsearch 7.11.0, Kibana 7.11.0, RabbitMQ 3, Docker Compose
- GitHub template
- env example file
- ⚠️ .env file committed
Also in Backend and cloud templates
See all 110| Rank | Project | Score |
|---|---|---|
| #103 | flask-restxFlask extension for building REST APIs with Swagger documentation | 34 out of 100 |
| #104 | itty-routerTiny TypeScript HTTP router for Cloudflare Workers and other serverless runtimes | 34 out of 100 |
| #106 | go-gin-exampleGo and Gin blog REST API example with JWT, MySQL, Redis and Swagger | 32 out of 100 |
| #107 | edwinhern/express-typescriptExpress and TypeScript backend starter with Zod validation and Swagger docs | 19 out of 100 |
| #108 | genai-apiHono API on Cloudflare Workers proxying Gemini with bearer auth | 17 out of 100 |