example implementation for a talk: https://speakerdeck.com/moveelevator/architektur-in-php-applikationen
- start built in php server
php -S localhost:8000 -t example/
- with the browser you can test the form
- install npm
npm install
- install gulp for cli
npm install -g gulp-cli
- run gulp
gulp
- if gulp is installed from another user, please use npx and run:
npx gulp
- if gulp is installed from another user, please use npx and run:
Run each command in the project root directory.
./vendor/bin/phpunit.phar -c ./phpunit.xml --debug --verbose
./vendor/bin/phpstan.phar analyse -l max -c ./phpstan.neon src/
./vendor/bin/phpcs-fixer.phar fix ./src
./vendor/bin/phpcs.phar ./src --standard=./ruleset.xml --extensions=php