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 Fixer Config Laravel Package

irstea/php-cs-fixer-config

A reusable PHP-CS-Fixer configuration package that provides an opinionated, consistent coding style for PHP and Laravel projects. Install it to standardize formatting and linting across repositories, with sensible defaults and easy customization.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • A developer-productivity lever, not a shippable feature. This package is a shared php-cs-fixer ruleset consumed via require-dev. It introduces no runtime behavior, no service provider, no user-facing surface, and no production footprint. The product decisions it informs are about engineering standards governance — whether the team adopts a single canonical style contract across its PHP/Laravel estate, how CI enforces it, and how much review attention goes to formatting versus logic — not about roadmap scope or customer experience.
  • Build vs. buy vs. borrow. The honest framing is borrow. The artifact is an opinionated PHP configuration file. The real decision is: do we take a dependency on someone else's ruleset, transcribe the rules into a repo-local .php-cs-fixer.dist.php, or compose the upstream presets (@PSR12, @PhpCsFixer, @Symfony) ourselves? Build cost is hours, not sprints. The dependency carries outsized supply-chain and availability risk relative to the value it delivers.
  • Roadmap relevance. Fits squarely under platform engineering / Developer Experience / tech-debt modernization workstreams: standardizing style across a portfolio of Laravel services, gating merges in CI, reducing diff noise after large refactors, and shortening onboarding for new contributors.
  • Use cases worth validating: (1) a multi-repo fleet where style-config drift causes churn; (2) enforcing PSR-12 before a package goes public; (3) an isolated "formatting-only" PR that shrinks review surface ahead of a bigger migration; (4) establishing a pinned, versioned style contract with a single named owner.

When to Consider This Package

Consider it if:

  • Your team operates inside IRSTEA or is already standardized on this ruleset — otherwise the private GitLab host is a hard blocker before any evaluation can begin.
  • You want a reference source for an opinionated ruleset and are willing to vendor, fork, or transcribe it into your own repository.
  • You need a pinned style contract shared across several PHP/Laravel services and want the rules to live in one place rather than copy-pasted between repos.

Look elsewhere if:

  • You need a publicly auditable, maintained dependency. The signals are weak: zero stars, zero dependents, no public documentation, unclear license and release cadence, French-language docs, and no visible tags (likely forcing branch/commit-SHA pinning). That is a supply-chain and bus-factor risk for a component sitting directly in every CI path.
  • Your stack is Laravel-first — laravel/pint is a single, near-zero-config php-cs-fixer wrapper with first-party maintenance and is the obvious default. Running both would create two competing style authorities, which is a governance problem before it is a tooling problem.
  • You need modern syntax coverage (PHP 8.x constructs, framework-specific rules) or an actively curated rule evolution.
  • Strong alternatives: upstream php-cs-fixer presets, laravel/pint, easy-coding-standard, squizlabs/php_codesniffer.

Recommended posture: do not add this as a Composer dependency from a private, unmaintained-looking source. If you have access, read the ruleset, fork or transcribe the opinionated parts into a repo-local config, pin the php-cs-fixer version, and revisit only if the package gains public releases and a clear license.

How to Pitch It (Stakeholders)

For executives (30 seconds): "This isn't a customer-facing feature. It's a one-page configuration that makes every PHP service format code the same way — fewer trivial review comments, cleaner diffs, faster onboarding, and a real reduction in merge friction. The engineering cost is a few hours. The catch: the package itself is an internal, unmaintained artifact with no public footprint, private hosting, and no license clarity, so my recommendation is to copy its rules rather than depend on it. Net: adopt the idea, not the dependency."

For engineering leads: "There's an existing ruleset we can mine for opinions, but taking a Composer dependency on a private GitLab repo with zero dependents puts an external availability and secret-management risk directly in our CI path — every runner would need credentialed access to someone else's infrastructure. Proposal: vendor the rule set into a repo-local .php-cs-fixer.dist.php (or start from laravel/pint if we're Laravel-first), pin the php-cs-fixer version, wire a single CI job that fails on a dirty diff rather than fixing, isolate the first-run reformat into its own commit and add it to .git-blame-ignore-revs, then roll out one repository at a time with a named owner. Measure the drop in style-related review comments over the next quarter. If the upstream package later gets public releases and a license, we can swap to requiring it with no behavioral change — the config is the interface."

For the risk-averse reviewer: "The failure mode here isn't code quality — it's that an upstream branch rewrite, access revocation, or repo relocation breaks composer install in every pipeline simultaneously. Forking and pinning by SHA converts that ambient external risk into a deliberate, reviewable internal decision for roughly a day per year of maintenance. The license question should be answered before, not during, rollout."

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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels