Repository demonstates DDD implementation, done during DDD course.
- Aggregate
IssuedInovice(also an entity) - Value Objects
Item,Items,Number,Crown - Domain interface
Series - Repository
IssuedInvoices - PDO implementation of
Series - Doctrine implementation of
IssuedInvices - A reasonable amout of tests (code coverage almost 100)
git clone git@github.com:simara-svatopluk/ddd-course-workshop.git
cd ddd-course-workshop
composer install
composer checkWe don't live in caves, so always run tests, check PSR-2 and run static analysis.
Command composer check does all of it.