Laravel is the most popular PHP framework in the world. This repo is a small test how we can provide monolith using Domain Driver Design.
This is small project made in 2 days. Main idea was to see if Laravel can provide tools to make good monolith.
In real world example we will need:
- ORM but not AD, because for moment with AD we can provide anemic data to db.
- Reduce usage of singleton, and make all through dependency injection.
- Setup better knowledge for each layer
- Use aggregates to provide business data and remove any ambiguity