ergebnis/php-cs-fixer-config
Factory-style PHP-CS-Fixer config for projects: choose a versioned ruleset (PHP 5.3–8.3), generate a consistent configuration, and keep coding standards aligned across repositories. Install via Composer and use with friendsofphp/php-cs-fixer.
.php-cs-fixer.php).Adopt if:
strict_comparison)..php-cs-fixer.dist.php.Look elsewhere if:
For Executives: "This package standardizes our PHP codebase’s formatting, reducing manual effort and onboarding time for developers. By automating adherence to best practices (e.g., PHP 8.2+ compatibility), we cut review cycles and improve maintainability—similar to how ESLint works for JavaScript. It’s a low-cost, high-impact tool that aligns with our Laravel stack and scales with new hires."
For Engineering Teams: *"This gives us pre-configured PHP-CS-Fixer rule sets for PHP 5.3–8.5, so we don’t waste time tweaking settings. It integrates seamlessly with:
mb_str_functions).
No more arguing over tabs vs. spaces—just consistent, automated enforcement. Try it in your next PR!"*For Developers:
*"Tired of .php-cs-fixer.dist.php files? This package lets you pick a PHP version (e.g., Php83) and get a ready-to-use config in 2 minutes. Supports:
composer require ergebnis/php-cs-fixer-config and start coding—it handles the rest."*How can I help you explore Laravel packages today?