#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.

Releases and problems feed (RSS)

Stars
1.1k
License
MIT
Last commit
Aug 2026
Language
PHP
Stars, last 29 weeks+4
2 May 2026: 1,080 stars9 May 2026: 1,080 stars16 May 2026: 1,080 stars23 May 2026: 1,080 stars30 May 2026: 1,080 stars6 Jun 2026: 1,080 stars13 Jun 2026: 1,080 stars20 Jun 2026: 1,081 stars27 Jun 2026: 1,082 stars4 Jul 2026: 1,082 stars11 Jul 2026: 1,082 stars18 Jul 2026: 1,082 stars25 Jul 2026: 1,082 stars1 Aug 2026: 1,082 stars8 Aug 2026: 1,082 stars15 Aug 2026: 1,082 stars22 Aug 2026: 1,082 stars29 Aug 2026: 1,082 stars5 Sept 2026: 1,082 stars12 Sept 2026: 1,082 stars19 Sept 2026: 1,083 stars26 Sept 2026: 1,083 stars3 Oct 2026: 1,083 stars10 Oct 2026: 1,084 stars17 Oct 2026: 1,084 stars24 Oct 2026: 1,084 stars31 Oct 2026: 1,084 stars7 Nov 2026: 1,084 stars14 Nov 2026: 1,084 stars21 Nov 2026: 1,084 stars

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
Also in Backend and cloud templates
RankProjectScore
#103flask-restxFlask extension for building REST APIs with Swagger documentation2.2k starscustom license34 out of 100
#104itty-routerTiny TypeScript HTTP router for Cloudflare Workers and other serverless runtimes2.1k starsMIT34 out of 100
#106go-gin-exampleGo and Gin blog REST API example with JWT, MySQL, Redis and Swagger7.2k starsMIT32 out of 100
#107edwinhern/express-typescriptExpress and TypeScript backend starter with Zod validation and Swagger docs1.2k starsMIT19 out of 100
#108genai-apiHono API on Cloudflare Workers proxying Gemini with bearer auth113 starsApache-2.017 out of 100