This project is created to demonstrate a way of flexible discount system for e-commerce store website.
- Install dependencies via Composer:
composer install
; - Apply doctrine migrations:
bin/console d:m:m
; - Run tests, if needed:
bin/phpunit
.
- Split
App\Store\Price\Calculator
service into manageable and testable pieces; - Add CLI commands or/and GUI to allow managing products, rules and benefits.