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

Symfony API Platform DDD CQRS Boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Symfony API Platform DDD CQRS Boilerplate


Languages

Language:PHP 97.0%Language:Shell 2.7%Language:Twig 0.4%