/ddd-course-workshop

Hands-on with DDD course

Primary LanguagePHP

DDD Course Workshop

Repository demonstates DDD implementation, done during DDD course.

Implemented

  • 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)

Run

git clone git@github.com:simara-svatopluk/ddd-course-workshop.git
cd ddd-course-workshop
composer install
composer check

We don't live in caves, so always run tests, check PSR-2 and run static analysis.
Command composer check does all of it.

Workshop resources

Demo resources