symplify/coding-standard
Opinionated PHP coding standard with 23 fixers for clean, consistent, readable code—no config required. Designed to run with Symplify Easy Coding Standard (ECS); install via Composer and auto-fix formatting like arrays, strict types spacing, line length, and method chaining.
Adopt if:
Look elsewhere if:
"This package automates 90% of our PHP code style enforcement—no more manual reviews for formatting, docblocks, or PhpStorm clutter. By integrating it into our CI pipeline, we’ll cut onboarding time by 30% and reduce merge conflicts. It’s a low-lift, high-impact way to standardize our codebase, with zero upfront cost. We’ll phase it into ECS later for long-term scalability."
"Symplify’s coding standard gives us 23 automated fixes (e.g., array alignment, docblock corrections) with one command. It’s a drop-in replacement for manual linting and pairs perfectly with ECS. Example: It’ll auto-fix PhpStorm’s ‘Created by PhpStorm’ comments and reformat arrays for better git diffs. We can run it in CI as a pre-commit hook or via ecs --fix to clean up codebases. Since it’s deprecated in favor of ECS, we’ll use this as a bridge to adopt ECS company-wide."
*"No more arguing about code style—this tool auto-formats your PHP/Laravel code to a consistent standard. It handles:
vendor/bin/ecs --fix, and it’ll handle the rest. It’s like a PHP beautifier on steroids."*How can I help you explore Laravel packages today?