Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 841 Bytes

README.md

File metadata and controls

45 lines (35 loc) · 841 Bytes

HDNET Code Standard

HDNET code style and workflow standards for backend projects.

Tools

  • Rector
  • PHP CS Fixer
  • Captainhook
  • PHPStan

Installation

composer config repositories.repo-name vcs https://github.com/HDNET/standard
composer require hdnet/standard --dev

Configuration (tbd.)

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.
            ],
        }
    },
    // ...

TODO: