binsoul / coding-standard
Coding standard
Installs: 716
Dependents: 9
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/binsoul/coding-standard
Requires
- php: ^8.0
- friendsofphp/php-cs-fixer: ^3
- slevomat/coding-standard: ^8
- squizlabs/php_codesniffer: ^3
- symplify/easy-coding-standard: ^12
Requires (Dev)
- php: ^8.0
- phpro/grumphp-shim: ^2
- phpstan/phpstan: ^1
- phpunit/phpunit: ^10
- roave/security-advisories: dev-latest
README
This package provides the coding standard for our projects.
Install
Via composer:
$ composer require binsoul/coding-standard --dev
Usage
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" } } }
License
The MIT License (MIT). Please see License File for more information.