binsoul/coding-standard
PHP_CodeSniffer-based coding standard bundle for PHP projects, providing opinionated style rules and configurations to keep code consistent. Easy to install via Composer and integrate into CI for automated code style checks and enforcement.
This package provides the coding standard for our projects.
Via composer:
$ composer require binsoul/coding-standard --dev
Install easy coding standard:
$ composer require symplify/easy-coding-standard-prefixed --dev
Check coding standard:
$ vendor/bin/ecs check src tests --config vendor/binsoul/coding-standard/easy-coding-standard.php
Install GrumPHP:
$ composer require phpro/grumphp-shim --dev
Add GrumPHP configuration to composer.json:
{
"extra": {
"grumphp": {
"config-default-path": "vendor/binsoul/coding-standard/grumphp.yaml"
}
}
}
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?