Standards can be installed with Composer dependency manager:
composer require code-atlantic/coding-standards --devWhen the package is installed via Composer you can check your files with the coding standards via:
vendor/bin/phpcs --standard="CodeAtlantic"<path>Where <path> is at least one file or directory to check, ex ..
To not have to pass all the arguments to the command line, and also make your
own project customizations create a phpcs.xml.dist file that contains
something like this:
<?xml version="1.0"?>
<rulesetname="MyProjectCodingStandard">
<description>My Project coding standard.</description>
<file>.</file>
<!-- Only check .php files -->
<argname="extensions"value="php" />
<!-- Set required text domain -->
<configname="text_domain"value="my-project" />
<!-- PHP 7.0 and higher. -->
<configname="testVersion"value="7.0-" />
<!-- Rules -->
<ruleref="CodeAtlantic" />
</ruleset>