Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 1.76 KB

File metadata and controls

55 lines (30 loc) · 1.76 KB

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