pccomponentes/coding-standard
PcComponentes Coding Standard adds PHP_CodeSniffer sniffs to enforce consistent PHP style. Install via Composer as a dev dependency and reference vendor/pccomponentes/coding-standard/src/ruleset.xml in your phpcs.xml(.dist) to apply the rules.
PcComponentes Coding Standard for PHP_CodeSniffer provides sniffs that fall into three categories.
Use composer to require the library:
composer require --dev pccomponentes/coding-standard
Create the phpcs.xml.dist configuration file and use the standard:
<?xml version="1.0" ?>
<ruleset name="Project rules">
<rule ref="vendor/pccomponentes/coding-standard/src/ruleset.xml" />
</ruleset>
How can I help you explore Laravel packages today?