Linux 软件免费装
Banner图

Upgravo – PHP Compatibility Check

开发者 nicolassalinas
更新时间 2026年11月2日 23:02
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

site health php 8 php compatibility compatibility checker php upgrade

下载

0.1.6 0.1.7 0.1.8

详情介绍:

Your hosting company says PHP 7.4 (or 8.0, 8.1…) is going away and you have to upgrade. Which of your plugins will break? Upgravo reads the code of every plugin and your theme, on your own server, and gives you a straight answer: Designed for any hosting Built on PHPCompatibility The analysis engine is PHPCompatibility (176 rules maintained by the PHP community since 2012) running on PHP_CodeSniffer, bundled inside the plugin, plus Upgravo's own detectors for PHP 8.2 dynamic properties and relative callables. It reads code; it does not run it. A static scan cannot see problems that only appear at runtime, so treat "nothing breaks" as "nothing we can see breaks", and keep a backup before any upgrade. Third-party libraries included Source code The free plugin is developed in the open: https://github.com/nis-prog/upgravo (support stays in the WordPress.org forum).

安装:

  1. Install from Plugins → Add New, or upload the upgravo folder to wp-content/plugins/.
  2. Activate it.
  3. Go to Upgravo in the admin menu, pick the PHP version you plan to upgrade to, and click Scan plugins and theme.

屏幕截图:

  • Detail grouped by rule, with file and line, bundled-library count and the hidden findings with their reason.
  • The scan runs in short batches with a progress bar, safe on shared hosting.
  • The verdict also shows up in Tools → Site Health.

常见问题:

Does it send my code anywhere?

No. Everything runs on your server, inside WordPress. The plugin makes no external requests.

Does it need exec() or shell access?

No. That is why it works on SiteGround, Kinsta, WP Engine and other hosts that disable exec().

How long does a scan take?

About 15 ms per PHP file. A site with WooCommerce and a dozen plugins (5,000 files) takes one to two minutes. The scan runs in batches of a few seconds each, so it is safe on any host.

What is the difference between "Breaks" and "Notices"?

"Breaks" means a fatal error on the target PHP version: a function that no longer exists, an argument order that is no longer accepted. "Notices" means the code still works but PHP marks it as deprecated and logs a message; it will break in a future version.

Why are some findings hidden?

Because they would mislead you. Hidden findings are code that only runs on old PHP versions (guarded by function_exists() or version_compare()), things that already apply to the PHP version you run today, analyzer housekeeping, and style advice. You can expand them and see the reason for each one.

Does it check inactive plugins?

By default only active plugins, the active theme (and its parent), mu-plugins and drop-ins. Tick "Include inactive plugins" to scan everything.

Can I run it from the command line?

Yes: wp upgravo scan --target=8.4 --inactive --format=table. Exit code 1 means something active breaks.

Is there a Pro version?

Yes. Upgravo Pro adds scheduled scans with an email when an update introduces an incompatibility, a PDF report for clients, a whitelist of false positives per plugin, and multisite support. Everything in the free plugin stays free. Details at phpready.com.

更新日志:

0.1.8 0.1.7 0.1.6 0.1.5 0.1.4 0.1.3 0.1.2 0.1.1 0.1.0