Title: PHPGuard Lite
Author: phpguard1
Published: <strong>2026 年 1 月 22 日</strong>
Last modified: 2026 年 1 月 22 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/phpguard.svg)

# PHPGuard Lite

 作者：[phpguard1](https://profiles.wordpress.org/phpguard1/)

[下载](https://downloads.wordpress.org/plugin/phpguard.1.0.1.zip)

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

 [支持](https://wordpress.org/support/plugin/phpguard/)

## 描述

PHPGuard Lite helps prevent white screens and fatal errors by allowing you to scan
WordPress plugins and PHP code for syntax issues before they are activated or used.

It provides three main tools:

 * Scan installed plugins for PHP syntax errors
 * Scan a plugin ZIP file before installing it
 * Scan pasted PHP code snippets

All scans run locally on your server. No code is executed. No data leaves your site.

The plugin uses a safe, non-executing PHP parser to detect parse errors and fatal
syntax issues that would otherwise crash WordPress when a plugin or snippet is loaded.

### Privacy & Security

PHPGuard Lite is fully self-contained.

 * No telemetry
 * No accounts
 * No email collection
 * No licensing calls
 * No remote servers
 * No background connections

All scanning is done locally on your WordPress installation.

### About base64 in snippet scanning

When scanning pasted code snippets, the browser may send the code using base64 encoding.
This is only used to safely transport pasted text through an HTTP request without
breaking due to special characters or encoding issues.

The base64 data is immediately decoded back into plain text and passed to the PHP
parser. The code is never executed, stored, or sent anywhere.

This is a transport mechanism only — not obfuscation, encryption, or remote communication.

### PHPGuard Pro

An optional commercial version, PHPGuard Pro, is planned. It will provide advanced
automation and safety features for professional and agency workflows. Information
about PHPGuard Pro is available on the project website.

### Usage

After activation, open PHPGuard in the WordPress admin menu.

You can:

 * Select an installed plugin and run a syntax scan
 * Upload a plugin ZIP and scan it before installation
 * Paste PHP code into the snippet scanner

Results will show any detected syntax errors or potential issues.

### Support

Documentation and project updates are available on the PHPGuard website.

## 安装

 1. Upload the plugin ZIP through Plugins  Add New  Upload Plugin
 2. Activate PHPGuard Lite
 3. Open PHPGuard from the WordPress admin menu

## 常见问题

### Does PHPGuard execute the code being scanned?

No. PHPGuard uses a safe PHP parser that reads code without executing it.

### Does PHPGuard send anything to external servers?

No. All scans run locally. No data is sent anywhere.

### Why do I see base64 in the code?

It is used only to safely transmit pasted code through HTTP without breaking on 
special characters. The data is decoded locally and scanned.

## 评价

此插件暂无评价。

## 贡献者及开发者

「PHPGuard Lite」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ phpguard1 ](https://profiles.wordpress.org/phpguard1/)

[帮助将「PHPGuard Lite」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/phpguard)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * Initial public release

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**5 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.5 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/phpguard/)
 * 标签
 * [developer](https://cn.wordpress.org/plugins/tags/developer/)[errors](https://cn.wordpress.org/plugins/tags/errors/)
   [security](https://cn.wordpress.org/plugins/tags/security/)[syntax](https://cn.wordpress.org/plugins/tags/syntax/)
   [WSOD](https://cn.wordpress.org/plugins/tags/wsod/)
 *  [高级视图](https://cn.wordpress.org/plugins/phpguard/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/phpguard/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/phpguard/reviews/)

## 贡献者

 *   [ phpguard1 ](https://profiles.wordpress.org/phpguard1/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/phpguard/)