ddd-example icon indicating copy to clipboard operation
ddd-example copied to clipboard

Example of DDD implementation

DDD Example

This is an example of implementation based on Domain Driven Design and framework agnostic.

This design has concentrated focus on the folder domain.

The same uses the container and route packages of "the league php" to manage the requests and responses.

Install

Via Composer

$ composer install

Run

Start embedded server

$ php -S localhost:8080 -t public/ public/index.php

Access

Using your browser

http://localhost:8080