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

arubacao/php-cs-fixer-config

A ready-made PHP-CS-Fixer configuration for Laravel and PHP projects, providing consistent, opinionated code-style rules out of the box. Install it to standardize formatting across your codebase and skip maintaining custom fixer configs yourself.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Coding-standards policy: whether engineering adopts one shared ruleset across Laravel and plain-PHP services, instead of per-repo configs drifting apart.
  • Build vs. adopt: the package is effectively a packaged ruleset — a thin, dev-only dependency. It answers "do we hand-write and maintain a php-cs-fixer config, or start from a curated preset?"
  • CI/linting roadmap: where style enforcement lives (pre-commit hook, CI job, IDE integration) and which baseline rules we enforce.
  • Legacy migration scoping: helps estimate the cost of retrofitting standards into older codebases — large one-time diffs, whitespace churn, review noise.
  • Tooling consolidation: informs the "php-cs-fixer vs. Laravel Pint vs. PHP_CodeSniffer" call if we're standardizing.
  • Low-blast-radius first step: it is not a runtime dependency and cannot affect shipped behavior, making it a safe pilot for a broader standards initiative.

When to Consider This Package

Consider it when:

  • You maintain legacy Laravel/PHP repos on PHP 7.x and php-cs-fixer v2 and want a pre-tuned baseline quickly.
  • You need a reference ruleset to copy or adapt into an in-house config rather than designing one from scratch.
  • You're authoring a standards document and want to see what "Laravel-flavored" rules look like (import ordering, docblocks, spacing).
  • You want a dev-only, MIT-licensed dependency with no runtime footprint.

Look elsewhere when:

  • You're on PHP 8+ / php-cs-fixer v3+ — this has been archived since 2019 and almost certainly doesn't track the v3 config format or newer fixers.
  • You want a maintained, first-party path — Laravel Pint is the official answer for Laravel teams; otherwise own your .php-cs-fixer.php.
  • You need patching, support, or supply-chain assurance — 7 stars, 0 dependents, and archived status mean no community backstop.
  • You need deep rule customization and predictable upgrade behavior; a vendored or forked config gives more control than a stale dependency.
  • Read the high opportunity score as a market signal (room for a maintained preset/fork), not as evidence this artifact is production-ready.

How to Pitch It (Stakeholders)

Executives: This is a dev-only coding-standards preset — MIT-licensed, no runtime risk, no customer-facing impact. The upside is consistency and cheaper code review. The downside is real: archived since 2019 with negligible adoption, so we should treat it as a reference, not a strategic dependency. Recommendation: adopt the idea (a shared ruleset) rather than the artifact — fund a small spike to either vendor the rules or standardize on Laravel Pint.

Engineering: The value is the ruleset, not the code. Read it, diff it against our current setup, and port what we want into a repo-owned .php-cs-fixer.php (or Pint config) so we control PHP-version support and upgrades. Avoid adding an archived dependency to composer.json; if we must, pin it and schedule removal. Land adoption as a single formatting-only commit so style churn doesn't pollute feature PR reviews.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource