chiiya / code-style-php
Linting configurations for PHP projects
Fund package maintenance!
3.3.1
2026-04-13 15:05 UTC
Requires
- php: ^8.2
- friendsofphp/php-cs-fixer: ^3.68
- kubawerlos/php-cs-fixer-custom-fixers: ^3.22
- rector/rector: ^2.0
- slevomat/coding-standard: ^8.15
- symplify/coding-standard: ^13.0
- symplify/easy-coding-standard: ^13.0
Requires (Dev)
- phpro/grumphp: ^2.10
This package is auto-updated.
Last update: 2026-05-13 15:23:00 UTC
README
Code Style PHP
Code style configurations for PHP projects using a combination of PHP-CS-Fixer, ECS and Rector.
index · installation · usage
Index
> Installation ..................................................................... > Usage ............................................................................
Installation
Looking for an integration with Laravel? Check out laravel-code-style.
Install the package using composer:
composer require chiiya/code-style-php --dev
Usage
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.