Eli's PHP Compatibility Scanner
Before you upgrade PHP, check your plugins and themes. The scanner reads their code and lists every file and line that will break, or start throwing warnings, on the PHP version you pick (7.4 to 8.4). It checks any plugin or theme installed on the site, including premium and custom ones. It is a PHP
About this tool.
Before you upgrade PHP, check your plugins and themes. The scanner reads their code and lists every file and line that will break, or start throwing warnings, on the PHP version you pick (7.4 to 8.4). It checks any plugin or theme installed on the site, including premium and custom ones.
It is a PHP compatibility checker built on PHP_CodeSniffer and the PHPCompatibility ruleset. The plugin ships the current development version of that ruleset instead of its last stable release from 2019, so changes made in PHP 8.1, 8.2, 8.3 and 8.4 are covered.
PHP 8.2 stops receiving security fixes on 31 December 2026. If a site you look after still runs 8.2 or older, now is a good time to check what an upgrade would break.
Where it runs
The free scanner runs on your own setup: LocalWP, XAMPP, MAMP, Docker, or any server where PHP’s exec() function is enabled. Many managed hosts (WP Engine, Kinsta, SiteGround and others) turn exec() off, and the free scanner needs it.
If your site is on one of those hosts, PHP Compatibility Scanner Pro runs the scan on a remote service instead, so it does not need exec() and the heavy work happens off your live server. Pro is a separate plugin, available from coffeewp.dev.
How it works
PHP_CodeSniffer turns your code into PHP tokens instead of searching it as text. A function name inside a comment or a string is not reported, and each finding names the PHP version that deprecated or removed what your code uses.
How to Use:
- 01Open PHP Compatibility Scanner in the WordPress admin menu
- 02Review the System Check section to ensure your environment is compatible
- 03Select the plugins and/or themes you want to scan by checking their boxes
- 04Configure your scan options: Target PHP Version : Choose the PHP version you want to test against (7.4 – 8.4)
- 05Batch Size : Select how many files to process at once (default: 50 files)
- 06Skip Vendor Directory : Keep checked to skip third-party dependencies
- 07Click Start Scan to begin the compatibility check
- 08View results in real-time as each plugin/theme is scanned
- 09Review any errors (❌) or warnings (⚠️) found in your code
- 10Click on any target to expand and see detailed compatibility issues