Code style configurations for PHP projects using a combination of PHP-CS-Fixer, ECS and Rector.
index · installation · usage
> Installation ..................................................................... > Usage ............................................................................
Looking for an integration with Laravel? Check out laravel-code-style.
Install the package using composer:
composer require chiiya/code-style-php --dev
Simply import the rules in your PHP-CS-Fixer, ECS and Rector config files. Have a look at the
.php-cs-fixer.dist.php
, ecs.php
and rector.php
in this repository for an example.