Skip to content

mxkh/symfony-api-platform-ddd-cqrs-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Symfony REST API CQRS implementation with API Platform and DDD using Clean Architecture

Architecture Clean Architecture

projects_dependencies

CQRS

Read Model - executing SQL scripts on database views objects (using Doctrine Query Builder).

Write Model - Domain Driven Design approach (using Doctrine ORM).

Commands/Queries/Domain Events handling using Symfony messenger library.

[WiP] Domain

domain_model

[WiP] Validation

[WiP] Caching

Frameworks and libraries

Frameworks

Symfony

API Platform

Doctrine ORM

Libraries

Ramsey UUID for supporting UUIDs

PHPStan for static analysis

Symfony Messenger for main CQRS bus and Domain bus

Symfony Workflow for handling domain states

Webmozart Asserts for domain validation

[WiP] Integration

Inspired by

Sample .NET Core CQRS API

Symfony 5 DDD CQRS

API Platform CQRS ES

[WiP] How to run application

[WiP] How to run Tests

Releases

No releases published

Packages

No packages published