PHP-CS-Fixer/PHP-CS-Fixer
A tool to automatically fix PHP Coding Standards issues observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 3.0
- age_days: 5222
- days_rel: 7
- days_push: 7
- n_releases_24m: 87
Adoption not part of the score
13544 stars · 1643 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PHP CS Fixer is a command-line tool that detects and automatically fixes PHP coding standards issues. It ships with built-in rule sets (PER-CS, Symfony, PhpCsFixer, auto-migration sets) and supports custom team configurations.
Use cases
- automatically fix php coding standards issues
- enforce per-cs or symfony coding style in a php project
- check code style in ci pipeline
- modernize php codebase to newer php syntax
- format php code consistently across a team
- replace manual lint fixing on large php projects
When to choose
- you maintain a PHP project and want automated, opinionated code style fixing
- you need CI integration for style checks (GitHub Actions, GitLab CI, Docker)
- you want to migrate code style toward newer PHP or PHPUnit conventions
When to avoid
- your project is not written in PHP
- you only need style detection without fixing and prefer a lightweight linter
- you need formatting for other languages - use language-specific formatters instead
Facets
cli-tool · maturity stable
formatter linter developer-tools ci-cd developer-tools programming-languages php cli cross-platform php code-style coding-standards static-analysis auto-fix per-cs symfony composer automation docker
3 sources
- readme: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer · fetched 2026-08-28 · 9db77b06a827
- homepage: https://cs.symfony.com · fetched 2026-08-29 · ed51495cea7b
- site_page: https://cs.symfony.com/doc/installation.html · fetched 2026-08-29 · 2dcbf8003f29
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PHP-CS-Fixer/PHP-CS-Fixer | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="PHP-CS-Fixer/PHP-CS-Fixer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem