redaxo/php-cs-fixer-config
Official PHP-CS-Fixer config for REDAXO projects, providing ready-made redaxo5() and redaxo6() presets so you can enforce consistent code style with minimal setup. Just install via Composer and point it at your finder.
.php-cs-fixer.dist.php you would otherwise maintain in every repo. The decision isn't "should we adopt a framework" — it's "do we spend engineering days curating ~100 PHP-CS-Fixer rules and re-curating them at every upstream release, or do we consume someone else's curation?" The wrapper tracks upstream friendsofphp/php-cs-fixer and kubawerlos/php-cs-fixer-custom-fixers via Renovate and runs an upstream-check workflow, so rule drift is handled for you.Config::redaxo5() and Config::redaxo6() — let you standardize style per major version and migrate branch-by-branch rather than in a big-bang reformat. That is a roadmap-shaping lever: it makes the REDAXO 5 → 6 upgrade cheaper to sequence.--dev dependency with zero production footprint. It should be treated as a reversible, low-blast-radius experiment rather than a governed platform commitment — which is exactly why it can be approved quickly.Adopt when:
php-cs-fixer step in CI.Look elsewhere when:
@PER-CS / @PSR-12 sets directly. Adopting a REDAXO-flavored ruleset outside REDAXO buys you nothing and adds an unnecessary dependency. (Worth stating plainly: despite the framing of this evaluation, this package is not a Laravel package.)Mitigation if you adopt anyway: lock the php-cs-fixer version (the project itself does this), and note that the entire value proposition lives in one small config class — forking it into an internal package is a few hours of work, not a migration. That caps the abandonment risk at "annoying," not "blocking."
Executives: "This is a low-cost, easily reversed developer-productivity decision, not a platform bet. It standardizes PHP code formatting across our REDAXO projects with a one-line install and automated CI enforcement, which means fewer review cycles spent on style, faster onboarding of new engineers, and less accumulated formatting debt. It carries no production dependency and no runtime risk — if it stops being maintained, we fork a small config file and move on. The main thing we're buying is engineering hours back."
Engineering: "Drop-in PHP-CS-Fixer preset maintained by a REDAXO core contributor. composer require --dev redaxo/php-cs-fixer-config, point your Finder at it, return Config::redaxo6(), done. Rules are kept current by Renovate and an upstream-check workflow, and parallel execution is enabled, so it's fast in CI. It requires PHP 8.3+ on the 3.x line. Be aware of two things: it's a single-maintainer project with essentially no downstream adoption, and the published release dates look wrong — validate the tag you pin. If it goes stale, the whole ruleset is one class; we own a fork in an afternoon."
How can I help you explore Laravel packages today?