A starting point for a coding dojo or a small personal project. There is no web framework included, but most of the quality assessment tools I use on a daily basis.
In a terminal, to create a new project :
composer create-project vdebes/php-boilerplate myApp --remove-vcs
- Unit testing with PHP-Unit ran at pre-commit, can be run with coverage
generation with
composer run test-coverage
- Static analysis with PHPStan ran at pre-commit
- Project quality with PHPInsights ran at pre-push
- Codestyle checker and fixer with PHP-CS-Fixer ran at pre-commit, some
errors can be fixed with
composer run csfix