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

Composer Normalize Laravel Package

ergebnis/composer-normalize

Composer plugin that automatically normalizes composer.json formatting and ordering for consistent diffs and fewer review comments. Install as a dev dependency, allow the plugin, then run to enforce a standard structure across your project.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enforces consistent composer.json formatting across teams, eliminating manual formatting disputes and merge conflicts caused by inconsistent key ordering, indentation, or structure.
  • Validates build vs. buy: Proven open-source solution (used by Laravel, PHPUnit, PestPHP) vs. building custom normalization logic, saving engineering hours and reducing maintenance burden.
  • Critical for CI/CD pipelines: Enables automated checks to block non-normalized commits, ensuring dependency management standards are enforced at the source.
  • Accelerates onboarding: New developers inherit a standardized project structure without learning arbitrary team conventions for composer.json formatting.

When to Consider This Package

  • Adopt when multiple contributors work on a PHP project using Composer, and inconsistent composer.json formatting causes merge conflicts, CI failures, or manual review overhead.
  • Ideal for teams managing libraries or applications where dependency management is mission-critical (e.g., public packages, enterprise PHP services).
  • Avoid if the project is a solo effort with trivial dependencies, or if existing tooling (e.g., custom pre-commit hooks) already handles normalization with identical rigor.
  • Skip if your project requires highly non-standard formatting rules that conflict with the tool’s configurable options (e.g., non-standard indentation or key ordering).

How to Pitch It (Stakeholders)

"This tool automates composer.json normalization—ensuring consistent dependency management formatting across your team with zero manual effort. Used by Laravel, PHPUnit, and other major PHP projects, it eliminates merge conflicts, reduces CI failures, and saves engineers hours of review time. Simply add it as a dev dependency and enforce via CI with a --dry-run check. It’s MIT-licensed, battle-tested, and requires no ongoing maintenance—just set it and forget it."

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