Title: BrightLeaf Digital PHP Compatibility Scanner
Author: BrightLeaf Digital
Published: <strong>2025 年 11 月 11 日</strong>
Last modified: 2026 年 1 月 7 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/brightleaf-digital-php-compatibility-
scanner.svg)

# BrightLeaf Digital PHP Compatibility Scanner

 作者：[BrightLeaf Digital](https://profiles.wordpress.org/eitanatbrightleaf/)

[下载](https://downloads.wordpress.org/plugin/brightleaf-digital-php-compatibility-scanner.1.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/brightleaf-digital-php-compatibility-scanner/#description)
 * [评价](https://cn.wordpress.org/plugins/brightleaf-digital-php-compatibility-scanner/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/brightleaf-digital-php-compatibility-scanner/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/brightleaf-digital-php-compatibility-scanner/#developers)

 [支持](https://wordpress.org/support/plugin/brightleaf-digital-php-compatibility-scanner/)

## 描述

PHP Compatibility Scanner helps you assess whether your site’s code (plugins and
themes) is likely to run on newer versions of PHP. It performs static analysis using
PHP_CodeSniffer and the PHPCompatibilityWP ruleset to flag code patterns that are
incompatible with the selected target PHP version.

What the plugin does (at a glance):
 – Compares your current runtime PHP (baseline)
to a selected target PHP version (8.0–8.4). – Scans plugins and themes, then highlights
only the new issues that would appear on the target version (the “delta”). – Shows
results in a clear report on the Tools screen and adds small badges on the Plugins
list screen. – Lets you pause, resume, or stop a running scan.

Important limitations of static analysis:
 – Static analysis can miss issues in 
dynamic code paths and can generate false positives. Treat results as guidance, 
not guarantees. Always test site functionality on a staging environment before upgrading
PHP in production.

### Features

 * Select a target PHP version (8.0, 8.1, 8.2, 8.3, 8.4)
 * Scan all plugins or select specific ones
 * Scan all themes or select specific ones, with an option to also scan a parent
   if a child theme is selected
 * Pause/Resume/Stop controls for long scans
 * Clear report of only the new issues between baseline (current runtime) and target
 * Plugin list badges showing a quick summary for the last scan

### Privacy

All analysis runs locally on your server. No data is sent to external services by
this plugin.

## 安装

 1. Install the plugin via Plugins  Add New  Upload Plugin, or place the `bld-php-compatibility-
    checker` folder into `wp-content/plugins/`.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Go to Tools  PHP Compatibility Checker.
 4. Choose a Target PHP version higher than your current runtime.
 5. Select what to scan (plugins and/or themes) and click “Run scan”.

## 常见问题

### What PHP versions can I target?

You can select one of: 8.0, 8.1, 8.2, 8.3, or 8.4.

### What is the minimum PHP version required to run this plugin?

The plugin requires PHP 7.4+ to run.

### Does this modify my code?

No. It only analyzes code and reports findings.

### Why are there false positives or missing issues?

Static analysis examines code without executing it. Dynamic patterns, conditional
code paths, and environment-specific behavior can cause both false positives and
false negatives. Use the results as guidance and verify on a staging site.

### Does it scan MU-plugins?

No. MU-plugins are intentionally skipped.

### Do I need WP-Cron for scans?

No. Scans advance via AJAX polling while the Tools page is open.

## 评价

此插件暂无评价。

## 贡献者及开发者

「BrightLeaf Digital PHP Compatibility Scanner」是开源软件。 以下人员对此插件做出
了贡献。

贡献者

 *   [ BrightLeaf Digital ](https://profiles.wordpress.org/eitanatbrightleaf/)

[帮助将「BrightLeaf Digital PHP Compatibility Scanner」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/brightleaf-digital-php-compatibility-scanner)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/brightleaf-digital-php-compatibility-scanner/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/brightleaf-digital-php-compatibility-scanner/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/brightleaf-digital-php-compatibility-scanner/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/brightleaf-digital-php-compatibility-scanner/)。

## 更新日志

#### 1.0.1

 * Add support for PHP 8.5

#### 1.0.0

 * Initial release
 * Scans plugins and themes against target PHP versions (8.0–8.4)
 * Pause/Resume/Stop controls
 * CLI-first engine with embedded fallback
 * AJAX-driven progress (no WP-Cron)
 * Plugin list badges for the last scan summary

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**5 月前**
 *  活跃安装数量 **200+**
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/brightleaf-digital-php-compatibility-scanner/)
 * 标签
 * [compatibility](https://cn.wordpress.org/plugins/tags/compatibility/)[php](https://cn.wordpress.org/plugins/tags/php/)
   [plugins](https://cn.wordpress.org/plugins/tags/plugins/)[scan](https://cn.wordpress.org/plugins/tags/scan/)
   [themes](https://cn.wordpress.org/plugins/tags/themes/)
 *  [高级视图](https://cn.wordpress.org/plugins/brightleaf-digital-php-compatibility-scanner/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/brightleaf-digital-php-compatibility-scanner/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/brightleaf-digital-php-compatibility-scanner/reviews/)

## 贡献者

 *   [ BrightLeaf Digital ](https://profiles.wordpress.org/eitanatbrightleaf/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/brightleaf-digital-php-compatibility-scanner/)