Skip to content

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

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 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

About

Symfony API Platform DDD CQRS Boilerplate

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.9%
  • Shell 2.7%
  • Twig 0.4%