ely/php-code-style
Opinionated PHP-CS-Fixer rule set from Ely.by for PHP 7.4+ projects. Install alongside friendsofphp/php-cs-fixer, add a .php-cs-fixer.php using Ely\CS\Config, optionally override rules, then run php-cs-fixer to lint and fix code style.
Adopt this package when your team requires a pre-configured, battle-tested PHP-CS-Fixer setup aligned with PSR-2/PSR-12 standards with specific enhancements (e.g., consistent brace placement for classes vs methods, blank line rules). It’s ideal for projects where minimal configuration is preferred and the existing rule set matches your team’s style preferences. Avoid if your project requires highly specialized rules not covered by the package (e.g., unique organizational conventions), or if you're working with legacy PHP versions below 7.4. Also consider alternatives if your team already has a well-established custom rule set that’s actively maintained, as adopting this package might require significant rework. The low dependency count (0) suggests it’s niche but stable for its target use case.
For executives: "This package automates code style enforcement across our PHP projects, reducing manual code review time by up to 30% and minimizing style-related merge conflicts. By adopting a proven standard used by Ely.by, we ensure consistent, high-quality code with minimal setup—freeing engineering resources to focus on feature development instead of stylistic debates. It’s a low-risk, high-ROI investment in developer productivity and code quality."
For engineering: "It’s a plug-and-play PHP-CS-Fixer configuration that enforces PSR-2/PSR-12 with our team’s preferred tweaks—like consistent brace placement for classes vs methods and blank line rules—out of the box. No need to maintain custom rules; just install, configure, and let it handle style checks. This eliminates subjective style discussions during PRs and ensures everyone’s code looks uniform, speeding up reviews and onboarding."
How can I help you explore Laravel packages today?