| What it is | PHPCompatibility ruleset for WordPress projects that skips WordPress's own polyfills | PHP_CodeSniffer rules that enforce WordPress coding conventions | PHP_CodeSniffer sniffs that check PHP code for cross-version compatibility | Composer plugin that registers installed PHP_CodeSniffer coding standards automatically |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.43 | 0.57 | 0.64 | 0.53 |
| Stars | 226 | 2845 | 2316 | 602 |
| Last commit | 2026-11-17 | 2026-11-20 | 2026-11-20 | 2026-11-21 |
| Licence | LGPL-3.0-or-later | MIT | LGPL-3.0-or-later | MIT |
| Pricing | Free and open source | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | — | — | — | — |
| Ways to run it | — | — | — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | — | — | — | — |
| Plugins | — | — | — | — |
| MCP server | — | — | — | — |
| Company | PHPCompatibility | WordPress.org | PHPCompatibility | PHPCSStandards |
| Features | - PHP cross-version compatibility checks for WordPress projects
- excludes polyfills and back-fills WordPress provides, to avoid false positives
- testVersion set per run or in a custom ruleset
| - WordPress, WordPress-Core, WordPress-Docs and WordPress-Extra standards
- configurable sniff properties
- includes sniffs from PHPCSExtra and PHP_CodeSniffer
- runs in CI and in editors through phpcs
| - sniffs that flag PHP features unavailable or changed in a chosen PHP version or range
- testVersion set per run or in a custom ruleset
- consistent results whichever PHP version runs PHP_CodeSniffer
- framework, CMS and polyfill specific rulesets that extend it
| - Finds installed phpcodesniffer-standard packages and their rulesets
- Sets PHP_CodeSniffer's installed_paths automatically
- Works with PHP_CodeSniffer 3.x and 4.x and Composer 2.2+
|
| Limitations | - Needs PHP 7.2+, PHP_CodeSniffer 4.0.2+, PHPCompatibility 10+ and PHPCompatibilityParagonie 2+; Composer is the only supported install method.
| - Needs PHP 7.2 or newer with the Filter, libxml, Tokenizer and XMLReader extensions.
- Since version 3.0, installing with Composer is the only supported way.
| - Coverage of PHP compatibility changes isn't complete, and changes before PHP 5.1 are only patchily covered.
- Needs PHP 7.2+, PHP_CodeSniffer 4.0.2+ and PHPCSUtils 1.1.2+.
| - Composer 2.2+ asks permission before it runs: it must be allowed in allow-plugins
- Needs PHP 7.2 or newer
|