內容簡介
總結:PHPGuard Lite 可協助檢測 WordPress 外掛和 PHP 代碼的語法問題,以避免白屏和致命錯誤。
1. 什麼是 PHPGuard Lite?
- PHPGuard Lite 是一個工具,可以掃描 WordPress 外掛和 PHP 代碼,以防止語法問題。
2. PHPGuard Lite 提供了哪三種主要工具?
- 掃描已安裝的外掛以檢查 PHP 語法錯誤
- 在安裝之前掃描外掛 ZIP 檔案
- 掃描貼上的 PHP 代碼片段
3. PHPGuard Lite 如何確保隱私和安全性?
- PHPGuard Lite 是完全自包含的,不使用遙測、不收集賬戶、不收集郵件、不發出許可呼叫、不使用遠程伺服器、無後台連接。
4. 如果掃描貼上的代碼片段時使用 base64 編碼,會發生什麼情況?
- base64 用於安全傳輸貼上的文本,允許通過 HTTP 請求傳輸文本而不會因特殊字符或編碼問題而中斷,在傳輸後立即將 base64 數據解碼為純文本並傳遞給 PHP 解析器,代碼不會執行、存儲或發送。
5. PHPGuard Pro 是什麼?
- PHPGuard Pro 是一個商業版的選擇,計劃中為專業和機構工作流程提供高級自動化和安全功能,有關 PHPGuard Pro 的信息可在專案網站上找到。
外掛標籤
開發者團隊
原文外掛簡介
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.
