chiiya/code-style-php
Reusable code style configs for PHP 8.1+ projects, combining PHP-CS-Fixer, EasyCodingStandard (ECS), and Rector. Install via Composer and import the provided rule sets into your tool config files to standardize formatting and refactors.
Adopt if:
Look Elsewhere if:
*"This package standardizes our PHP code quality with minimal effort—think of it as ‘Prettier for PHP.’ By adopting chiiya/code-style-php, we’ll:
It’s a low-risk, high-reward move: a 10-minute setup yields months of developer productivity gains. For teams already using Laravel, we can pair this with laravel-code-style for deeper integration."*
*"This gives us out-of-the-box PHP linting that handles:
setup() method false positives).InlineArrayReturnAssignRector).How to start:
composer require chiiya/code-style-php --dev..php-cs-fixer.dist.php, ecs.php, and rector.php.Why now? It’s lightweight, actively maintained (latest update: 1.10.0), and avoids the tedium of custom rule tuning. Let’s pilot it in [Project X] and measure dev time saved."*
How can I help you explore Laravel packages today?