fabpot/php-cs-fixer
PHP CS Fixer automatically detects and fixes coding standards issues in your PHP code. It offers built-in rule sets like @PER-CS, @Symfony, and @PhpCsFixer, plus migration rules to modernise your codebase toward newer PHP and PHPUnit versions.
friendsofphp/php-cs-fixer or php-cs-fixer/shim when dependency conflicts exist), uses a project-level .php-cs-fixer.dist.php config, and runs via vendor/bin/php-cs-fixer fix or check. It can be wired into Composer scripts, CI, pre-commit hooks, and IDE integrations without application code changes.check or only provide auto-fix locally? How are rule-set upgrades reviewed? Who owns config exceptions? Is a one-time baseline reformat acceptable now? Do we need pre-commit and IDE enforcement, or CI only?require-dev so production installs can exclude it with composer install --no-dev. It works in GitHub Actions, GitLab CI, Docker, and local development. It is compatible with Pint, but the team should avoid two competing formatter configurations.check to CI. If Pint already exists, prefer Pint as the developer interface and add PHP CS Fixer only for rules Pint does not expose; document one source of truth. Never mix baseline formatting with functional changes in the same PR.php-cs-fixer/shim as the intended escape hatch. Rule sets evolve across releases, so pin to a known-good version and upgrade deliberately. If both Pint and PHP CS Fixer are installed, verify their compatibility and prevent conflicting presets.check --diff gate. (6) Add Composer scripts and optional pre-commit/IDE integration. (7) Schedule rule-set and dependency review. (8) Track adoption and CI failure trends.How can I help you explore Laravel packages today?