# Easy Coding Standard (ECS)

> Runs PHP_CodeSniffer and PHP-CS-Fixer rules together, fast

Source: https://talira.ai/catalog/easy-coding-standard-ecs-1f178a34
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / linting](https://talira.ai/categories/developer-tools/linting), [developer tools / formatting](https://talira.ai/categories/developer-tools/formatting), [languages / php](https://talira.ai/categories/languages/php)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Tomas Votruba](https://talira.ai/orgs/tomas-votruba.md)

Easy Coding Standard (ECS) is a PHP command-line tool that runs [PHP_CodeSniffer](https://talira.ai/catalog/php-codesniffer-zrnhrrbz.md) and [PHP CS Fixer](https://talira.ai/catalog/php-cs-fixer-wxxjt9v6.md) rules together, configured through one ecs.php file. The first run writes a config with your paths and a first rule; later runs show suggested diffs and --fix applies them. It ships prepared rule sets (PSR-12, PER Coding Style, Laravel Pint's preset, and topic sets for arrays, spacing, imports, docblocks and more) and runs in parallel. A bundled Go engine, used with --blink or automatically when every configured rule is covered, fixes large codebases in seconds. It installs as a dev dependency with Composer and works on PHP 7.2 to 8.5 projects.

## Links

- GitHub: https://github.com/ecsphp/ecs

## Problems it solves

- enforce a PHP coding style without configuring two separate tools
- PHP-CS-Fixer is too slow on my large codebase
- apply PSR-12 formatting to a PHP project in CI

## Features

- runs PHP_CodeSniffer and PHP-CS-Fixer rules in one tool
- one ecs.php config, created on first run
- prepared sets: PSR-12, PER Coding Style, Laravel and topic sets
- parallel runs and a bundled Go engine (--blink)
- works on PHP 7.2 to 8.5 projects

## Trust

Overall: 0.62 out of 1.
Signals: maintenance 1.00, adoption 0.64, momentum 0.35, community 0.63, backing 0.30, extensibility 0.00.

- last commit 5 days ago
- 363 commits in the last 90 days
- latest release 13.3.25 6 days ago
- 1.6k GitHub stars
- 36 contributors
- backed by Tomas Votruba

## Related

- Works with [PHP_CodeSniffer](https://talira.ai/catalog/php-codesniffer-zrnhrrbz.md)
- Works with [PHP CS Fixer](https://talira.ai/catalog/php-cs-fixer-wxxjt9v6.md)

## Alternatives

- [Slevomat Coding Standard](https://talira.ai/catalog/slevomat-coding-standard-dfdcdx7p.md): Extra PHP_CodeSniffer sniffs for safer, cleaner and consistently formatted PHP
- [PHP_CodeSniffer](https://talira.ai/catalog/php-codesniffer-zrnhrrbz.md): Detect and fix coding standard violations in PHP
- [laminas-coding-standard](https://talira.ai/catalog/laminas-coding-standard-wf2s5eqd.md): The Laminas Project's PHP_CodeSniffer coding standard ruleset, built on PSR-12
- [WordPress Coding Standards for PHP_CodeSniffer](https://talira.ai/catalog/wordpress-coding-standards-for-php-codesniffer-598761fd.md): PHP_CodeSniffer rules that enforce WordPress coding conventions
- [PHPLint](https://talira.ai/catalog/phplint-bpnr9ztv.md): Lint PHP files faster by running several lint processes at once
- [Airbnb JavaScript Style Guide](https://talira.ai/catalog/airbnb-javascript-style-guide-at17d2k0.md): Airbnb's JavaScript style guide and the ESLint configs that enforce it

## Sources

[^1]: https://github.com/ecsphp/ecs/blob/main/README.md (checked 28 Nov 2026)
[^2]: https://github.com/ecsphp/ecs/blob/main/LICENSE (checked 28 Nov 2026)
