Weave Code
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests