Fixers and refactoring
PHP CS Fixer
A tool to automatically fix PHP Coding Standards issues
When to use it
Projects that want automatic formatting and coding-standard fixes
A broad fixer catalog and custom rule sets make formatting changes deterministic and automatable.
Installation and compatibility
- Type
- Fixer
- PHP
- ^7.4 || ^8.0
- License
- MIT
- Install
- composer require --dev friendsofphp/php-cs-fixer
Check the project documentation for configuration and version-specific requirements.
Strengths and limitations
ProOffers a broad catalog of automatic coding-standard fixes.
ConBroad rule changes can create large review diffs.
Evidence: Source 1
Editorially reviewed
Repository activity
Activity: Active. Repository activity is a separate signal from suitability for your application.
- Latest release
- v3.95.30
- Last commit
- Last release
Metadata checked: .
Explore related tools
Browse all fixers and refactoring. Tools in the same category can serve different workflows; compare their requirements and limitations.