Skip to content

🎯 Hexagonal Architecture + DDD + CQRS + Event Sourcing in PHP using Symfony 7.

Notifications You must be signed in to change notification settings

mikelgoig/php-sandbox-project

Repository files navigation

Hexagonal Architecture, CQRS, DDD & Event Sourcing in PHP

Created by Mikel Goig.

Symfony 7

View Repository


Sandbox project of a PHP microservice using Hexagonal Architecture, CQRS, DDD and Event Sourcing, keeping the code as simple as possible.

This microservice is just a component of a Bookshop System, which is in charge of managing the book catalog.

The project runs on a Docker-based installer and runtime for the Symfony web framework, with FrankenPHP and Caddy inside!

😎 Getting Started

🐳 Needed Tools

🦊 Code

  1. Clone this project:

    git clone https://github.com/mikelgoig/php-sandbox-project.git
  2. Move to the project folder:

    cd php-sandbox-project

πŸ”₯ Execution

  1. Start the project with Docker executing:

    make start
  2. Then you'll have the application available at https://localhost:4443.

  3. Accept the auto-generated TLS certificate.

  4. Stop the Docker containers:

    make down

βœ… Tests

  1. Run the whole test suite with:

    make test

πŸ‘©β€πŸ’» Project Explanation

Configuration

Reference

Architecture

Version Control

API

Operations

🀩 Extra

This sandbox project has been created using both templates symfony/skeleton and dunglas/symfony-docker.

This README has been written using this README checklist.