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

stickee/php-cs-fixer-config

A shared PHP-CS-Fixer configuration from Stickee that standardizes code style across PHP projects. Install via Composer and extend the preset ruleset to enforce consistent formatting, catch style issues early, and keep your codebase clean with minimal setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Engineering hygiene as a policy decision, not a feature decision. This package does not move product metrics directly; it supports the decision to standardize code style across a portfolio of PHP/Laravel repositories so that diffs stay reviewable and CI stays deterministic. Frame any adoption case around reduced review latency and onboarding cost, not around user-facing value.
  • Build vs. buy (really: build vs. borrow). The "buy" here is free and tiny — a curated rule set you can either depend on or copy in ~30 lines. The real decision is whether your team wants a maintained internal standard or a single-file convention committed per repo. This package is only rational if you have several repos and no owner for the rules.
  • Roadmap impact: near zero. Treat this as tooling debt work that fits into a maintenance sprint, not a roadmap line item. It should not consume prioritization attention against customer-facing work.
  • Use cases it fits: multi-repo standardization at a small agency or product shop; establishing a baseline fixer config before splitting a monolith into services; enforcing style in CI for a team that keeps arguing about formatting in review.
  • Use cases it does not fit: a single-repo product, a team already on Laravel Pint, or any situation where you need a community-maintained, widely adopted standard.

When to Consider This Package

Consider it only when all of the following hold:

  • You maintain multiple PHP/Laravel repositories and want one pinned, versioned source of truth for style rather than copy-pasted configs.
  • You already use friendsofphp/php-cs-fixer directly (not Pint) and want a pre-tuned rule set.
  • You are comfortable with a single-vendor artifact — 2 stars, 0 dependents, one organization's opinions — and can fork it if it stalls.
  • You have verified the package's pinned PHP-CS-Fixer major version matches (or is compatible with) your PHP runtime matrix. Shared configs that lock the fixer version are a common source of CI breakage on PHP upgrades.

Look elsewhere when:

  • You are on Laravel. Laravel Pint is the official, zero-config wrapper over PHP-CS-Fixer with first-party maintenance and broad adoption. For most Laravel teams, Pint is the buy decision, and adopting a third-party config is a worse risk/reward trade.
  • You have one repo. Write a .php-cs-fixer.php yourself; a dependency for 30 lines of array is overhead.
  • You need community support, security review, or a deprecation policy. With 0 dependents and minimal signal, you are the maintainer in practice.
  • You want to ratchet rules gradually per repo. A single published config tends to be all-or-nothing; per-repo overrides fight the abstraction.
  • You need IDE/editor parity out of the box. Check that the rule set is stable enough to drive PHPStorm inspections without constant drift.

How to Pitch It (Stakeholders)

To executives: This is a low-cost consistency play. It centralizes coding-style rules for our PHP services into one versioned dependency, which shortens code review cycles and makes onboarding new engineers faster. Cost is effectively zero — a dev-only dependency with no runtime footprint, no licensing cost (MIT), and no user-facing risk. It is not a strategic bet; it's plumbing. Approve it as a maintenance-sprint item and expect the payoff in review throughput, not revenue.

To engineering: It gives us one pinned style contract across repos instead of N divergent config files. Adoption is a require-dev entry plus a one-line config include, wired into CI alongside our existing fixer step. Two caveats we should accept knowingly: it's a single-maintainer package with negligible adoption, so we should vendor or fork it if we depend on it, and we should confirm its PHP-CS-Fixer version constraint fits our PHP upgrade path before committing. If we're a Laravel shop and don't need the custom opinions, Pint is the safer default and we should say so explicitly rather than adopt this for novelty.

Recommendation: Adopt only if we have three or more PHP repos and no owner for style rules; otherwise standardize on Pint or an in-repo config and revisit in six months.

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.
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk