PHP Compatibility Scanner
A free plugin that checks your plugins and themes before you upgrade PHP
✨ What PHP Compatibility Scanner Does
Your host wants you on a newer PHP version, but will your plugins and themes still work? PHP Compatibility Scanner checks the code on your site against the PHP version you plan to move to and lists only the new problems that version would cause, compared with the PHP your site runs today.
✅ Pick a target PHP version (8.0 to 8.5)
✅ Scan all plugins and themes, or only the ones you choose
✅ See only the new issues the upgrade would introduce
✅ Pause, resume or stop long scans
✅ Badges on the Plugins screen summarizing the last scan
🔍 How It Works
The scanner uses PHP_CodeSniffer with the PHPCompatibilityWP ruleset, the same open-source tools developers use, to read your plugin and theme code without running it. It compares your current PHP version with the target and reports the difference, so problems that already exist today don’t hide the ones the upgrade would add.
Static analysis can miss issues in code that only runs in certain situations, and it can flag code that is actually fine. Treat the results as guidance, and test on a staging site before you change PHP on your live site.
🔒 Private by Design
Scans run entirely on your own server. Your code and results are never sent anywhere. The full list of when the plugin contacts outside services is in the plugin’s WordPress.org readme.
🚀 Getting Started
- Install & activate PHP Compatibility Scanner from WordPress.org
- Go to Tools > PHP Compatibility Scanner
- Choose a target PHP version higher than the one your site runs now
- Select what to scan and click Run scan
- Review the report, and check the badges on the Plugins screen
🧩 Requirements
- PHP 7.4 or higher
- No Gravity Forms needed. The scanner works on any WordPress site.
Docs
Read the PHP Compatibility Scanner documentation, or ask a question in the GravityOps Help community.