lin3s/php-cs-fixer-config
Provides a reusable PHP-CS-Fixer configuration from Lin3s for enforcing consistent coding standards across PHP projects and packages. Add it as a development dependency and extend the preset to apply shared formatting and style rules with minimal setup, keeping codebases uniform and easier to mainta...
friendsofphp/php-cs-fixer, the real decision is build a small in-repo config vs. depend on someone else's. The evidence pushes hard toward build.Consider it only in narrow, legacy circumstances:
Look elsewhere when:
self_accessor rule (a fixer that was renamed to self_static_accessor in the 3.x line), which is a one-rule gesture toward 3.x, not a verified 3.x-compatible config: there is no changelog entry, CI signal, or PHP version-matrix change accompanying it. Treat it as unproven until you test it yourself.slevomat/coding-standard, symplify/easy-coding-standard, or doctrine/coding-standard all have real user bases and active release cadence.Executive summary. This package is not a product dependency — it's a 2017 internal convenience wrapper that stores one company's PHP code-style rules. It has zero adoption (0 GitHub stars, 0 dependent packages). Its entire release history is the original publish plus v1.0.2, a single one-line change that removes the deprecated self_accessor rule. That is the first sign of life in roughly eight years, and it is not maintenance: no changelog, no tests, no CI, no supported PHP matrix, no maintainer commitment. There is no feature value to capture and no user-facing impact either way. The security exposure is minimal because it would only ever run in development and CI, never in production. The real cost is maintenance debt: its constraints can block PHP and php-cs-fixer upgrades, and there is nobody upstream to ask for a fix. Recommendation: do not adopt. The underlying need — consistent formatting across our PHP services — is real and worth solving, but it's a sub-one-day engineering task, not a roadmap item.
For engineering. Take the ruleset as inspiration and vendor it: keep the config in-repo so rule changes go through code review like any other change. If we're on Laravel, use Laravel Pint and stop there — it's first-party and maintained in lockstep with the framework. Otherwise, pin php-cs-fixer to v3, run --dry-run --diff in CI as a required check, and add a pre-commit hook so violations are caught before review. If you read v1.0.2 as a signal that upstream might revive the package, wait for evidence — a supported PHP constraint, a CI badge that actually runs, and a second release within a normal cadence — before treating it as a candidate again. Budget hours, not a sprint. File it under developer-experience hygiene, assign a platform owner, and revisit the ruleset annually rather than treating it as a standing dependency.
How can I help you explore Laravel packages today?