ecsphp/ecs
ECS runs PHP-CS-Fixer and PHP_CodeSniffer as a single, parallel fast tool with zero dependencies. Run on PHP 7.2+ observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 3473
- days_rel: 9
- days_push: 9
- n_releases_24m: 24
Adoption not part of the score
1621 stars · 92 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Easy Coding Standard (ECS) is a zero-dependency PHP CLI tool that runs PHP-CS-Fixer and PHP_CodeSniffer rules together in a single parallel run, configured via one simple ecs.php file. It supports PHP 7.2 through 8.5 and offers prepared rule sets like PSR-12 for quick setup.
Use cases
- enforce coding standards on a php codebase
- run php-cs-fixer and php codesniffer with one tool
- auto-fix code style violations with ecs --fix
- check psr-12 compliance in ci pipeline
- generate a starter coding standard config for a php project
- speed up php linting with parallel execution
When to choose
- you want a single tool combining PHP-CS-Fixer and PHP_CodeSniffer rules
- you need fast parallel code-style checks on any PHP 7.2+ project
- you prefer simple single-file PHP configuration with prepared rule sets
When to avoid
- you only need one of the two underlying tools and want to avoid an extra wrapper
- your project is not PHP
- you need linting for languages other than PHP
Facets
cli-tool · maturity active
linter formatter cli developer-tools developer-tools testing php cli cross-platform coding-standard php-cs-fixer phpcodesniffer psr-12 code-style parallel-processing ci command-line automation
2 sources
- readme: https://github.com/ecsphp/ecs · fetched 2026-08-28 · 7e2dea3c2dab
- homepage: https://tomasvotruba.com/blog/zen-config-in-ecs · fetched 2026-08-29 · 43ff8d2ab434
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ecsphp/ecs | main | 99 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem