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

amphp/php-cs-fixer-config

Shared PHP-CS-Fixer configuration used across amphp projects. Install as a dev dependency, create a .php_cs.dist that returns Amp\CodeStyle\Config, configure the Finder paths and cache file, and run php-cs-fixer locally or in CI (e.g., Travis) for consistent styling.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Standardizes code style across multiple repositories, reducing inconsistency and improving maintainability for AMPHP projects and similar organizations.
  • Supports "build vs buy" decision by providing a ready-to-use, tested configuration instead of creating custom rules, saving engineering time.
  • Enables onboarding new projects quickly with consistent formatting, aligning with roadmap goals for scalable code quality.
  • Use case: Organizations managing multiple PHP projects needing unified style guidelines without manual configuration.

When to Consider This Package

  • When your team uses PHP CS Fixer and requires a pre-configured, battle-tested style guide aligned with AMPHP's standards.
  • For multi-repository projects where consistency across codebases is critical (e.g., monorepos or orgs with shared libraries).
  • When you need strict adherence to modern PHP standards (e.g., strict_types, nullable types) without manual rule setup.
  • Look elsewhere if: your project has unique style requirements not covered by this config, you're using a different linter (e.g., Psalm, PHPStan), or the project is small with no need for standardization.

How to Pitch It (Stakeholders)

  • Executives: "This package eliminates style-related friction in code reviews, accelerates onboarding, and ensures consistent, high-quality code across all PHP projects. Backed by AMPHP's proven standards, it reduces technical debt and saves engineering time—freeing up resources for feature development."
  • Engineering: "Simple Composer integration with CI/CD and pre-commit hooks. Auto-formats code, enforces modern PHP best practices (e.g., strict_types), and is maintained by a trusted open-source community. No manual rule configuration needed—just plug and play for reliable, consistent style enforcement."
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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table