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 Custom Fixers Laravel Package

erickskrauch/php-cs-fixer-custom-fixers

Custom PHP-CS-Fixer fixers by Erick Skrauch. Adds opinionated formatting rules like aligning multiline parameters, inserting blank lines around class bodies and before returns, spacing after control statements, fixing multiline if braces, ordering overrides, and Yii2 ::className() replacement.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Supports build vs. buy decisions by providing ready-made custom fixers, eliminating the need to develop and maintain in-house solutions for niche formatting rules.
  • Enables consistent code standards across teams and repositories without custom rule development, reducing technical debt and manual code review overhead.
  • Aligns with roadmap priorities for code quality automation by integrating seamlessly into CI/CD pipelines, ensuring formatting consistency at scale.
  • Use cases include enforcing team-specific conventions (e.g., docblock structure, method naming, or namespace alignment) not covered by PHP CS Fixer’s default rules.

When to Consider This Package

  • Adopt when your project already uses PHP CS Fixer and requires additional formatting rules not available in the default set.
  • Consider when the team lacks bandwidth to build/maintain custom fixers internally and needs a lightweight, MIT-licensed solution with straightforward configuration.
  • Look elsewhere if:
    • The project doesn’t use PHP CS Fixer (e.g., relies on other linters like Psalm or PHPStan).
    • Enterprise-level support, extensive documentation, or high community adoption is required (given its low star count and niche focus).
    • Highly specialized rules not included in the curated set are needed, requiring bespoke development.

How to Pitch It (Stakeholders)

  • Executives: "This package ensures consistent, high-quality code across all projects with minimal overhead. By integrating into existing CI workflows, it reduces manual code review time, accelerates development cycles, and lowers maintenance costs—freeing up engineering resources for higher-value work."
  • Engineering: "It’s a drop-in extension for PHP CS Fixer that adds ready-to-use custom fixers, eliminating the
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
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
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