Design Patterns in PHP
Implement design-patterns using the TDD method
Install dependencies
$ composer install
Install npm dependencies
$ npm install
$ npm install -g gulp
Running Test
$ ./vendor/bin/phpunit
Watching Unit Test For Changes
The gulp
command will continue running in your terminal and watch all relevant files for changes. gulp will then automatically recompile your tests and src when it detects a change:
$ gulp watch