跳到内容

Upgrade Radar – compatibility checker for PHP

v1.0.0

pixelshinobi · 2026年11月22日 上架

Find out if your plugins and theme are ready for PHP 8.1 to 8.5, with a plain-English verdict for each. Works on locked-down hosts.

正在使用
10 以下
评分
暂无
累计下载
101
最近更新
2026年11月23日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

One verdict per plugin and theme for the PHP version you picked, with counts at the top.
One verdict per plugin and theme for the PHP version you picked, with counts at the top.
Every problem with its file and line. Possible false alarms say which check keeps the code from running.
Every problem with its file and line. Possible false alarms say which check keeps the code from running.
A scan in progress. You can leave the page: it carries on in the background.
A scan in progress. You can leave the page: it carries on in the background.

Your host wants you on a newer PHP version, or the one you’re on is about to lose security support (PHP 8.2’s ends on December 31, 2026). Before you switch, Upgrade Radar reads the code of your active plugins and theme and tells you what to do about each one:

  • Ready: nothing breaks on the PHP version you picked.
  • Update first: a newer version is available, or WordPress hasn’t checked yet. Update, then scan again.
  • No compatible version yet: you have the latest version, and it still breaks. Ask its developer, or look for a replacement.
  • Needs a developer: code WordPress can’t check for updates, such as a custom plugin, that breaks.

Every problem is one click away, with its file and line, and you can download them all as a CSV file for your developer.

Works on any host

  • No exec() needed. The scan runs inside WordPress. Many hosts turn off exec() and similar functions, and Upgrade Radar doesn’t use them.
  • No timeouts. It scans in short batches, one per request, so it stays well under your server’s time limit, even on sites with dozens of plugins.
  • Leave the page if you like. The scan carries on in the background with WP-Cron, and picks up where it left off.
  • Read-only. It never changes a file, and only reads your plugins and themes.
  • Private. Nothing leaves your site. Verdicts use the update information WordPress already has.

How it decides

Upgrade Radar answers one question: will code that works on PHP 7.4 today keep working on the PHP version you pick? It checks with PHP_CodeSniffer and the PHPCompatibilityWP rules, the standard tools for this.

  • Errors are code that breaks on that PHP version. Only errors decide the verdict.
  • Warnings are code that’s deprecated there: it still works, but should be updated eventually.
  • Possible false alarms are findings in code that never runs on that PHP version, such as code that only runs on older versions. They’re listed, but don’t count.

It checks the active plugins, including network-activated ones, the active theme, and its parent theme if it’s a child theme.

Credits

Upgrade Radar includes PHP_CodeSniffer 4.0.4 (BSD-3-Clause license), and PHPCompatibility 10.0.0-alpha2, PHPCompatibilityWP 3.0.0-alpha2, PHPCompatibilityParagonie 2.0.0-alpha2 and PHPCSUtils 1.2.3 (LGPL-3.0-or-later license). Thank you to their authors.

These libraries are the scanner itself: every scan loads them inside WordPress to check your plugins’ and theme’s code, so they ship in the vendor folder. Only the parts a scan uses are included. PHP_CodeSniffer’s own coding standards, and its parts that run other programs, which only its command-line tool uses, are left out. Their namespaces start with UpgradeRadarVendor, so they can’t clash with the copies other plugins bundle.

Source code and build tools

The source code, with its tests and build tools, is on GitHub: github.com/PixelShinobi/Upgrade-Radar-compatibility-checker-for-PHP. The release zip is built by bin/build-release, which prefixes the bundled libraries’ namespaces with PHP-Scoper.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums