Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Cs Fixers Laravel Package

wucdbm/php-cs-fixers

A collection of custom PHP-CS-Fixer fixers for enforcing additional coding-standard rules in PHP projects, useful for teams that want stricter automated style checks beyond the default PHP-CS-Fixer rule set.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Engineering standards governance (build vs. buy vs. copy): The only genuine product value here is the opinionated ruleset, not the code. A PM decision this supports is: do we standardize style across repositories at all, and if so do we ship a shared internal config (copying these rules as a starting point) or take a third-party dependency? Both are cheap; the difference is who owns the upkeep.
  • Developer-experience / platform roadmap: Consistent formatting removes a recurring category of code-review comments and shortens onboarding for new engineers. That is a real but modest productivity line item — worth a ticket in a DevEx backlog, not a roadmap theme.
  • CI pipeline investment: Adopting a fixer set implies a CI gate (php-cs-fixer fix --dry-run --diff). The decision to add a blocking style check to pipelines is the substantive product decision; which rule package feeds it is a footnote.
  • Multi-repo / monorepo strategy: The stated benefit — "share a single style configuration across multiple repositories" — matters only if you actually operate several PHP repos. For a single repository, built-in PHP-CS-Fixer rulesets cover it and this package adds nothing.
  • Vendor risk register entry: 3 stars, 0 dependents, one maintainer, last release June 2020, and a 0.x version line. If adopted, it belongs on a dependency-risk list, and the decision is explicitly "accept low support burden in exchange for near-zero cost."
  • Not supported by this package: anything customer-facing. It is a dev-only dependency with no runtime footprint, no user-visible behaviour, and no bearing on pricing or positioning. Do not let it occupy roadmap airtime.

Evidence caveat: the package is five years stale and its extension surface (custom AbstractFixer subclasses) is coupled to PHP-CS-Fixer's internal API, which has moved through major versions since 3.0. The functional-fit verdict below should be refreshed by actually installing it against your current PHP-CS-Fixer version before anyone commits to it.

When to Consider This Package

Consider it when:

  • You run more than one PHP repository and want one shared style. This is the only scenario where the package meaningfully beats PHP-CS-Fixer's built-in @PSR12 / @PhpCsFixer / @Symfony sets — the presets are the product.
  • You specifically want the extra opinionated fixers. Skim the fixer list first. If two or three rules appeal and the rest do not, adopting the whole package is worse than writing those rules yourself.
  • You treat it as a dev-only Composer dependency (require-dev), so a break in it never blocks a deploy or reaches production.
  • You accept and document 0.x semantics — pin to ^0.3.1 or exact 0.3.1, and never let an unattended composer update cross a minor boundary.
  • Someone is willing to own a fork if and when it stops working. At this size, forking is genuinely low-cost, and forking is a legitimate adoption strategy.

Look elsewhere when:

  • You run a single repository. Use PHP-CS-Fixer's bundled rulesets, or Laravel Pint if you are on Laravel — Pint is first-party-adjacent, actively maintained, and covers the same job.
  • You need compatibility guarantees with current PHP-CS-Fixer. Custom fixers are the most version-sensitive part of that ecosystem. Verify on a branch before assuming the 2020 code loads against today's friendsofphp/php-cs-fixer.
  • Your platform team will not fund maintenance. A stale, unmaintained package with zero dependents is effectively a vendored artifact; if nobody will fix it, do not take it.
  • Your team has no style convention yet. Deciding what your standard is comes before picking who wrote the config; adopting someone else's opinions as your first standard creates churn later.
  • You need the CI story, not the rules. php-cs-fixer plus your own pipeline config is the whole job; this package does not provide tooling.

How to Pitch It (Stakeholders)

For executives (one line): A free, MIT-licensed dev-tooling helper that could make formatting consistent across our PHP repositories — small productivity upside, negligible cost, and low risk because it never ships to production; the only real cost is that it is unmaintained and someone would have to own it if we depend on it.

For engineering leads: This is a curated set of custom PHP-CS-Fixer rules plus ready-made presets, installed as a require-dev Composer package. The value proposition is one shared style config across repos; if we have one repo, use PHP-CS-Fixer's built-in @PhpCsFixer set or Pint and skip it. The risk profile is the deciding factor: last release June 2020, three stars, zero dependents, single maintainer, 0.x versioning, and custom fixers bind directly to PHP-CS-Fixer internals that have changed across majors. Concretely, I would: (1) spend an hour proving it installs and runs against our current PHP and PHP-CS-Fixer versions; (2) if it does, adopt at an exact pin or, preferably, copy the two or three rules we actually want into our own config so we own them; (3) gate it in CI as non-blocking for a sprint before making the check required. If it fails step 1, we have lost an hour and learned that our standard should be built in-house from the bundled rulesets.

Recommendation: Evaluate, do not adopt as-is. The ideas are worth stealing; the dependency is not worth inheriting without a named owner.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core