Sample code and exercises for my quality PHP workshop
Sample code and exercises for my quality PHP workshop.
Requirements:
composer install
handbook
folder is just for me, please don’t cheat 😃If you don’t have a suitable PHP environment set up, you can try the Dockerfile:
NOTE I have not tested this thoroughly, so YMMV… proceed with caution AT YOUR OWN RISK!!
docker build -t quality .
docker run --rm -v $(pwd):/app -it quality php -v
- test it worksdocker run --rm -v $(pwd):/app -it quality bash
- open a shell “inside” the containerrm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
(removes xdebug)docker-php-ext-enable xdebug
(adds xdebug)