PHPCompatibility/PHPCompatibility
PHP Compatibility check for PHP_CodeSniffer observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 99
- Release rhythm 47
- Longevity 100
Flags: prerelease_only
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 38
- age_days: 5296
- days_rel: 278
- days_push: 8
- n_releases_24m: 2
Adoption not part of the score
2301 stars · 202 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A set of sniffs (rules) for PHP_CodeSniffer that checks PHP code for cross-version compatibility. It analyses codebases for compatibility with higher and lower versions of PHP via configurable rulesets.
Use cases
- check if my php code is compatible with php 8
- find deprecated php features before upgrading php version
- ensure codebase supports a range of php versions
- run php compatibility checks in ci
- detect syntax that will break on older php versions
- lint code for php version compatibility
When to choose
- you already use PHP_CodeSniffer and want version compatibility checks
- you are upgrading or downgrading the PHP version a project supports
- you need CI-enforced compatibility rules across PHP 7.2 through nightly
When to avoid
- you need general code style or security linting rather than version compatibility
- your project does not use PHP
- you want a standalone static analyzer without PHP_CodeSniffer
Facets
library · maturity active
linter testing developer-tools developer-tools programming-languages testing php cli cross-platform phpcodesniffer phpcs coding-standard ruleset php-version-compatibility static-analysis
3 sources
- readme: https://github.com/PHPCompatibility/PHPCompatibility · fetched 2026-08-28 · 33c0088c001e
- homepage: http://techblog.wimgodden.be/tag/codesniffer/ · fetched 2026-08-29 · 81ec2e387c66
- site_page: https://techblog.wimgodden.be/about-me · fetched 2026-08-29 · 9f39c5a62e4d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PHPCompatibility/PHPCompatibility | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="PHPCompatibility/PHPCompatibility")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem