tenantcloud/php-cs-fixer-rule-sets
Architecture fit. This is development-time tooling only — a shared php-cs-fixer rule set consumed as a Composer require-dev dependency. It has no runtime footprint, no service boundary, and no interaction with application code paths, which makes it a low-blast-radius adoption. Architecturally it fits any Laravel/PHP codebase, but its real value is organizational rather than technical: it externalizes a style contract so multiple repositories can converge on one definition instead of copy-pasting .php-cs-fixer.php files. For a TPM, that is the lever — style consistency as a versioned dependency rather than a wiki page.
Integration feasibility. Mechanically trivial: composer require --dev, point the project's fixer config at the package's rule set, add a CI step. The unknown is what shape the package takes — whether it exports a config array/factory (safe, declarative) or ships custom fixer classes (executable code running in CI with repository access). That distinction changes the security and review burden materially. The second unknown is overlap with Laravel Pint, which is first-party, widely adopted, and already wraps php-cs-fixer. Adopting this package may mean either replacing Pint or layering a preset on top of it; neither is documented by a zero-star, zero-dependent project.
Technical risk. The dominant risk is version coupling. php-cs-fixer renames, deprecates, and removes rules across major versions, so a rule set is only as good as its compatibility matrix. A package with no dependents and no public issue traffic gives no signal on how quickly it tracks upstream majors. Secondary risks: single-vendor maintenance (it appears to be TenantCloud's internal config published outward), no community pressure to preserve backward compatibility, and dev-dependency supply-chain exposure in CI. The recency of the 2025-08-07 release is mildly reassuring but proves only that someone cut a tag.
Key questions.
php-cs-fixer major versions and PHP versions are supported, and is that constraint declared in composer.json or discovered at runtime?php-cs-fixer?Stack fit. PHP 8.x Laravel services on Composer, with CI on GitHub Actions or GitLab CI. It belongs in the require-dev block alongside php-cs-fixer or Pint, pinned in lockstep. Nothing in the runtime image changes, so deployment, container builds, and production rollback are unaffected.
Migration path. Treat this as a pilot, not a rollout. Run the fixer in --dry-run --diff against one representative repository first and quantify the churn. If the diff is small, land it as a single chore PR with no functional changes and a git blame-ignore entry. If the diff is large, either apply the rule set only to new/changed files via a changed-files CI gate, or defer adoption. Do not bundle a mass reformat with feature work.
Compatibility. Pin php-cs-fixer and this package together and upgrade them as a pair. Verify the package's composer.json constraints before assuming a php-cs-fixer major bump is safe. If the project already uses Pint, decide explicitly whether this replaces Pint's preset or sits alongside it — running two style authorities is the failure mode to avoid.
Sequencing.
php-cs-fixer upgrade cycle.Maintenance. Low steady-state effort, but not zero. Someone must own the version pin and drive paired upgrades when php-cs-fixer cuts a major. Budget a small recurring task per upgrade cycle; the cost is in the reformat-and-rebase churn, not the config edit. Because it is a dev dependency, maintenance failures surface in CI, never in production.
Support. No SLA, no support contract, no visible maintainer responsiveness. Assume best-effort vendor support and plan for an internal owner — realistically one platform or DevEx engineer for a few hours per quarter. If the project is abandoned, the fallback is straightforward: extract the rule array into your own repository and own it.
Scaling. The ruleset itself scales cheaply and uniformly across repositories — that is the entire appeal. The scaling constraint is CI cost: a full-repo fixer run adds minutes per pipeline. Mitigate with changed-file-scoped checks on PRs and a full sweep on a nightly or pre-release job. Organizational scaling is easier than technical scaling: one shared definition is far cheaper to govern than N hand-maintained configs.
Failure modes.
php-cs-fixer or PHP bump, blocking all CI.Ramp-up. Near zero for application developers — they run composer fix or see a CI failure and apply the autofix; there is no API or mental model to learn. Ramp-up is concentrated in the platform owner who must understand the version matrix, the CI wiring, and the fork contingency. Onboarding documentation should cover exactly two things: how to run the fixer locally, and who to ask when CI style checks fail after a dependency bump.
How can I help you explore Laravel packages today?