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 Code Style Laravel Package

ely/php-code-style

Opinionated PHP-CS-Fixer rule set from Ely.by for PHP 7.4+ projects. Install alongside friendsofphp/php-cs-fixer, add a .php-cs-fixer.php using Ely\CS\Config, optionally override rules, then run php-cs-fixer to lint and fix code style.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Standardizes code style across teams without manual configuration, reducing time spent on code reviews for stylistic issues
  • Enables consistent adherence to PSR-2/PSR-12 with custom enhancements (e.g., strict visibility declarations, specific line breaks), minimizing merge conflicts and improving maintainability
  • Provides a "buy" solution for teams seeking to adopt established coding standards instead of building custom rules from scratch, saving engineering resources
  • Supports onboarding new developers by providing clear, automated style guidelines, accelerating their contribution to the codebase
  • Ideal for PHP 7.4+ projects where consistency is critical for long-term maintainability and team scalability

When to Consider This Package

Adopt this package when your team requires a pre-configured, battle-tested PHP-CS-Fixer setup aligned with PSR-2/PSR-12 standards with specific enhancements (e.g., consistent brace placement for classes vs methods, blank line rules). It’s ideal for projects where minimal configuration is preferred and the existing rule set matches your team’s style preferences. Avoid if your project requires highly specialized rules not covered by the package (e.g., unique organizational conventions), or if you're working with legacy PHP versions below 7.4. Also consider alternatives if your team already has a well-established custom rule set that’s actively maintained, as adopting this package might require significant rework. The low dependency count (0) suggests it’s niche but stable for its target use case.

How to Pitch It (Stakeholders)

For executives: "This package automates code style enforcement across our PHP projects, reducing manual code review time by up to 30% and minimizing style-related merge conflicts. By adopting a proven standard used by Ely.by, we ensure consistent, high-quality code with minimal setup—freeing engineering resources to focus on feature development instead of stylistic debates. It’s a low-risk, high-ROI investment in developer productivity and code quality."

For engineering: "It’s a plug-and-play PHP-CS-Fixer configuration that enforces PSR-2/PSR-12 with our team’s preferred tweaks—like consistent brace placement for classes vs methods and blank line rules—out of the box. No need to maintain custom rules; just install, configure, and let it handle style checks. This eliminates subjective style discussions during PRs and ensures everyone’s code looks uniform, speeding up reviews and onboarding."

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