Allekslar / php-ddd-cqrs-event-sourcing-ecotone

Example of a PHP application using Domain-Driven Design (DDD) Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) principles. Using Ecotone, Symfony, Prooph and JMS Serializer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP Application using DDD CQRS Event Sourcing with Hexagonal Architecture

alt text

Application built with Ecotone Framework and powered by integrations with Prooph Event Store, Symfony and JMS Serializer.

Application shows the how complex systems can be built with ease using PHP.
The main tenets of Ecotone is to allow developers focus on business problems not integrations and technical issues and this can be seen in the code.

Have fun :)

Possible Integrations with Laravel and Ecotone Lite

Application is written in Symfony, however Ecotone integrates with Laravel and can be run alone without any additional framework (Ecotone Lite).
All the code that is written in here, will work exactly the same way, when will be run with Laravel or Ecotone Lite.

Run

docker-compose up -d

And then application is available under localhost:3000

As read model is updated asynchronously, you may need to refresh after performing action to see the changes.

About

Example of a PHP application using Domain-Driven Design (DDD) Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) principles. Using Ecotone, Symfony, Prooph and JMS Serializer


Languages

Language:PHP 73.3%Language:Twig 21.6%Language:Shell 3.9%Language:Dockerfile 1.3%