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://tw.wordpress.org/plugins/phpguard/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/phpguard/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/phpguard/#installation)
 * [開發資訊](https://tw.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 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/phpguard/)
 * 標籤:
 * [developer](https://tw.wordpress.org/plugins/tags/developer/)[errors](https://tw.wordpress.org/plugins/tags/errors/)
   [security](https://tw.wordpress.org/plugins/tags/security/)[syntax](https://tw.wordpress.org/plugins/tags/syntax/)
   [WSOD](https://tw.wordpress.org/plugins/tags/wsod/)
 *  [進階檢視](https://tw.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/)