All Projects → jorge07 → Symfony 5 Es Cqrs Boilerplate

jorge07 / Symfony 5 Es Cqrs Boilerplate

Licence: mit
Symfony 5 DDD ES CQRS backend boilerplate

Projects that are alternatives of or similar to Symfony 5 Es Cqrs Boilerplate

Rails event store
A Ruby implementation of an Event Store based on Active Record
Stars: ✭ 947 (+24.77%)
Mutual labels:  event-sourcing, cqrs-es, ddd, cqrs
Todomvc Ddd Cqrs Eventsourcing
Implementation of basic Todo app via tastejs/todomvc in C#/Typescript with eventsourcing, cqrs, and domain driven design
Stars: ✭ 134 (-82.35%)
Mutual labels:  cqrs-es, ddd, cqrs, backend
Event Sourcing Cqrs Examples
Event Sourcing and CQRS in practice.
Stars: ✭ 265 (-65.09%)
Mutual labels:  event-sourcing, cqrs-es, ddd, cqrs
backend
Ergonode backend repository
Stars: ✭ 100 (-86.82%)
Mutual labels:  cqrs, backend, ddd, event-sourcing
Event Sourcing Jambo
An Hexagonal Architecture with DDD + Aggregates + Event Sourcing using .NET Core, Kafka e MongoDB (Blog Engine)
Stars: ✭ 159 (-79.05%)
Mutual labels:  event-sourcing, cqrs-es, ddd, cqrs
Ultimate Backend
Multi tenant SaaS starter kit with cqrs graphql microservice architecture, apollo federation, event source and authentication
Stars: ✭ 978 (+28.85%)
Mutual labels:  event-sourcing, ddd, cqrs, backend
Eshoponcontainersddd
Fork of dotnet-architecture/eShopOnContainers in full DDD/CQRS design using my own patterns
Stars: ✭ 126 (-83.4%)
Mutual labels:  cqrs-es, ddd, cqrs, backend
Event Store Symfony Bundle
Event Store Symfony Bundle
Stars: ✭ 93 (-87.75%)
Mutual labels:  event-sourcing, symfony, ddd, cqrs
Kreta
Modern project management solution
Stars: ✭ 177 (-76.68%)
Mutual labels:  event-sourcing, symfony, ddd, cqrs
delta
DDD-centric event-sourcing library for the JVM
Stars: ✭ 15 (-98.02%)
Mutual labels:  cqrs, ddd, event-sourcing, cqrs-es
Eventually Rs
Event Sourcing for Rust
Stars: ✭ 277 (-63.5%)
Mutual labels:  event-sourcing, ddd, cqrs
Akka Ddd
Akka CQRS/ES framework
Stars: ✭ 330 (-56.52%)
Mutual labels:  event-sourcing, ddd, cqrs
Modular Monolith With Ddd
Full Modular Monolith application with Domain-Driven Design approach.
Stars: ✭ 6,210 (+718.18%)
Mutual labels:  event-sourcing, ddd, cqrs
OpenCQRS
.NET Standard framework to create simple and clean design. Advanced features for DDD, CQRS and Event Sourcing.
Stars: ✭ 546 (-28.06%)
Mutual labels:  cqrs, ddd, event-sourcing
Ddd Leaven Akka V2
Sample e-commerce system #Microservices #Akka #Reactive-DDD #CQRS
Stars: ✭ 362 (-52.31%)
Mutual labels:  event-sourcing, ddd, cqrs
zio-event-sourcing
Purely functional concurent and scalable persistance layer implementing CQRS
Stars: ✭ 34 (-95.52%)
Mutual labels:  cqrs, event-sourcing, cqrs-es
Akkatecture
a cqrs and event sourcing framework for dotnet core using akka.net
Stars: ✭ 414 (-45.45%)
Mutual labels:  event-sourcing, ddd, cqrs
Resolve
Full stack CQRS, DDD, Event Sourcing framework for Node.js
Stars: ✭ 460 (-39.39%)
Mutual labels:  event-sourcing, ddd, cqrs
order-demo
Axon demo - `Order Management` Information System - A part of the systems landscape https://github.com/fraktalio/courier-demo, https://github.com/fraktalio/restaurant-demo, https://github.com/fraktalio/order-demo
Stars: ✭ 72 (-90.51%)
Mutual labels:  cqrs, ddd, event-sourcing
Go Api Boilerplate
Go Server/API boilerplate using best practices DDD CQRS ES gRPC
Stars: ✭ 373 (-50.86%)
Mutual labels:  event-sourcing, ddd, cqrs

Symfony 5 ES CQRS Boilerplate

All Contributors

A boilerplate for DDD, CQRS, Event Sourcing applications using Symfony as framework and running with php7

push Coverage Status

Symfony 4 still available in symfony-4 branch

Documentation

Buses

Creating an Application Use Case

Adding Projections

Async executions

UI workflow

Xdebug configuration

Kubernetes Deployment

Architecture

Architecture

Implementations

  • [x] Environment in Docker
  • [x] Symfony Messenger
  • [x] Event Store
  • [x] Read Model
  • [x] Async Event subscribers
  • [x] Rest API
  • [x] Web UI (A Terrible UX/UI)
  • [x] Event Store Rest API
  • [x] Swagger API Doc

Use Cases

User

  • [x] Sign up
  • [x] Change Email
  • [x] Sign in
  • [x] Logout

API Doc

Stack

  • PHP 7.4
  • Mysql 8.0
  • Elastic & Kibana 7.9.2
  • RabbitMQ 3

Project Setup

Action Command
Setup make start
Run Tests make phpunit
Static Analisys make style
Code Style make cs
Code style check make cs-check
PHP Shell make s=php sh
Xdebug make xoff/xon
Build Artifacts make artifact

PHPStorm integration

PHPSTORM has native integration with Docker compose. That's nice but will stop your php container after run the test scenario. That's not nice when using fpm. A solution could be use another container just for that purpose but is way slower and I don't want. For that reason I use ssh connection.

IMPORTANT

ssh in the container it's ONLY for that reason and ONLY in the DEV TAG, if you've ssh installed in your production container, you're doing it wrong...*

Click here for the detailed instructions about how to setup the PHP remote interpreter in PHPStorm.

If you're already familiar with it, here a quick configuration reference:

Host Direction
Docker 4 mac localhost
Dinghy $ dinghy ip

Port: 2323

Filesystem mapping: {PROJECT_PATH} -> /app

Xdebug

To ease your development process, you can use Xdebug with PHPSTORM.

  1. Add a Docker interpreter

    Docker PHP interpreter

  2. Enable Xdebug listenning. Don't forget to also activate Xdebug helper from your browser.

    Xdebug activation

    Additionally, you can check Break at first line in PHP scripts to ensure your debug is working.

  3. Make a request from you API at http://127.0.0.1/api/doc for example. You should see this popup:

    Xdebug mapping

    Click on Accept and you should be ready to debug ! Start placing breakpoints on your code and enjoy debugging !

Note for Windows users:

You might need to update docker-os= to docker-os=windows in Makefile or specify its value on command line like $ make start docker-os=windows.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Luis

💻

Kajetan

💻

Krzysztof Kowalski

💻

Patryk Woziński

💻

jon-ht

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].