talira

Compare

PHPCompatibilityWPWordPress Coding Standards for PHP_CodeSnifferPHPCompatibilityPHP_CodeSniffer Standards Composer Installer Plugin
What it isPHPCompatibility ruleset for WordPress projects that skips WordPress's own polyfillsPHP_CodeSniffer rules that enforce WordPress coding conventionsPHP_CodeSniffer sniffs that check PHP code for cross-version compatibilityComposer plugin that registers installed PHP_CodeSniffer coding standards automatically
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.430.570.640.53
Stars22628452316602
Last commit2026-11-172026-11-202026-11-202026-11-21
LicenceLGPL-3.0-or-laterMITLGPL-3.0-or-laterMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyPHPCompatibilityWordPress.orgPHPCompatibilityPHPCSStandards
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