HDNET code style and workflow standards for backend projects.
- Rector
- PHP CS Fixer
- Captainhook
- PHPStan
composer config repositories.repo-name vcs https://github.com/HDNET/standard
composer require hdnet/standard --dev
Via root composer.json extra section. Here a full example of the configuration options.
// ...
"extra": {
"standard": {
"php-cs-fixer": [
"riskyAllowed": false,
],
"rector": [
// tbd.
],
"captainhook": [
// tbd.
],
}
},
// ...
- Migration of linter from https://github.com/HDNET/hdnet-standards
- Project analysis
- PHP 7.4 support for the package?