bin/build.shbin/start.sh
bin/start.sh- Visit localhost in your browser.
Ctrl+Corbin/stop.shto exit
- Configure server with
localhostname andlocalhosthost. - See
/docker/docker-compose.ymlto know the volumes for each folder.
bin/static-analysis.sh
We are using this tools to add Static Analysis and Generics to our PHP code:
- Psalm
- PHPStan
- PHP Mess Detector
Note: We don't use the
namingrule as is incompatible with Harmony
- Prettier with Prettier PHP Note: currently is disabled waiting a fix for PHP 8.0
"lint-staged": {
"**/*.php": "php -l",
"**/*": "prettier --write --ignore-unknown",
"*.{js,css,md}": "prettier --write"
},bin/test-unit|test-integration.sh
We are using this tools for Unit Test and Coverage: