Skip to content

Domain-Driven Design Implementation In PHP, Hexagonal Architecture to be precise.

Notifications You must be signed in to change notification settings

JunaidQadirB/ddd-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domain-Driven Design Implementation In PHP

This is a working demo which demonstrates how to implement Hexagonal Architecture in PHP.

I followed this blog post by Yordi Pauptit.

I have a bit different approach, I wrapped the Domain,Application and Infrastructures folders or layers in the Domain itself. In my mind this is more organized and self contained than scattering say for example everything related to Post domain into Domain,Application and Infrastructures directories.

Installation

git clone https://github.com/JeyKeu/dd-php.git

composer install

Running

CLI

cd dd-php

php index.php

Browser

cd dd-php

php -S localhost:8081

About

Domain-Driven Design Implementation In PHP, Hexagonal Architecture to be precise.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages