compare
PHP_CodeSniffer vs PHP CS Fixer
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | PHP_CodeSniffer | PHP CS Fixer |
|---|---|---|
| Language | PHP | PHP |
| Licence | BSD-3-Clause | MIT |
| Stars | 1.6k | 14k |
| Latest | 4.0.4 | v3.95.27 |
| Last push | 2026-10-08 | 2026-10-09 |
| Release cadence | about 3 days between releases | about 6 days between releases |
| Active contributors | 6 commit authors on the default branch in the last 90 days | 15 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
PHP_CodeSniffer replaces PHP CS Fixer. Alternatives to PHP CS Fixer →
PartialChecks code against coding standards and fixes many violations, with a rule-based sniff approach.
PHP CS Fixer replaces PHP_CodeSniffer. Alternatives to PHP_CodeSniffer →
PartialFixes coding style automatically, but does not report violations without changing files.
PHP_CodeSniffer
PHP_CodeSniffer
✓ signed The latest release, 4.0.4, carries a signature GitHub verified.
Loading the security report
PHP CS Fixer
✓ signed The latest release, v3.95.27, carries a signature GitHub verified.
Loading the security report