stickee/php-cs-fixer-config
A shared PHP-CS-Fixer configuration from Stickee that standardizes code style across PHP projects. Install via Composer and extend the preset ruleset to enforce consistent formatting, catch style issues early, and keep your codebase clean with minimal setup.
Consider it only when all of the following hold:
friendsofphp/php-cs-fixer directly (not Pint) and want a pre-tuned rule set.Look elsewhere when:
.php-cs-fixer.php yourself; a dependency for 30 lines of array is overhead.To executives: This is a low-cost consistency play. It centralizes coding-style rules for our PHP services into one versioned dependency, which shortens code review cycles and makes onboarding new engineers faster. Cost is effectively zero — a dev-only dependency with no runtime footprint, no licensing cost (MIT), and no user-facing risk. It is not a strategic bet; it's plumbing. Approve it as a maintenance-sprint item and expect the payoff in review throughput, not revenue.
To engineering: It gives us one pinned style contract across repos instead of N divergent config files. Adoption is a require-dev entry plus a one-line config include, wired into CI alongside our existing fixer step. Two caveats we should accept knowingly: it's a single-maintainer package with negligible adoption, so we should vendor or fork it if we depend on it, and we should confirm its PHP-CS-Fixer version constraint fits our PHP upgrade path before committing. If we're a Laravel shop and don't need the custom opinions, Pint is the safer default and we should say so explicitly rather than adopt this for novelty.
Recommendation: Adopt only if we have three or more PHP repos and no owner for style rules; otherwise standardize on Pint or an in-repo config and revisit in six months.
How can I help you explore Laravel packages today?