ergebnis/php-cs-fixer-config
Factory package for friendsofphp/php-cs-fixer configs. Provides ready-made rule sets per PHP version (5.3–8.5) and helpers to build a consistent, reusable fixer configuration for your projects.
Php83 for modern Laravel projects).strict_comparison) for legacy Laravel codebases without abandoning the framework entirely.Avoid if:
php-cs-fixer alone).Consider if:
*"This package lets us enforce consistent, high-quality PHP code across our Laravel stack with minimal developer overhead. By standardizing formatting (e.g., headers, spacing) and integrating into CI/CD, we’ll:
*"This is a drop-in solution for PHP-CS-Fixer that:
strict_comparison for legacy code) or add project-specific fixers.backend-services repo first."**"Tired of arguing about tabs vs. spaces? This package:
composer.json:
"require-dev": { "ergebnis/php-cs-fixer-config": "^6.21.0" }
.php-cs-fixer.php with your PHP version’s rule set (e.g., Php83::create()).composer coding-standards or add it to Git hooks.
Pro tip: Use --diff to see changes before applying them."*How can I help you explore Laravel packages today?