mutebesi/php-obfuscation-studio
最新稳定版本:v1.0.0
Composer 安装命令:
composer require mutebesi/php-obfuscation-studio
包简介
A premium PHP obfuscation engine and studio with a modern SaaS UI.
README 文档
README
The Fortress for your Intellectual Property
PHP Obfuscation Studio is a premium, professional-grade code protection suite designed for developers who value security, privacy, and sovereignty. Unlike online obfuscators that require you to upload your sensitive logic to third-party servers, this Studio operates entirely offline and self-hosted.
💎 Why PHP Obfuscation Studio?
In the commercial software world, shipping readable PHP source code is an existential risk. Unauthorized distribution, license bypasses, and logic theft cost developers millions annually.
🔒 Security Through Sovereignty
The ultimate security lies in Zero Knowledge.
- 100% Offline: No telemetry, no API calls, no third-party logs.
- Self-Hosted: Your code never leaves your local environment.
- Immutable Secrets: Because you host the engine, no one can ever trace the specific transformation patterns or secrets used to protect your script.
🛠️ The Multi-Layer Protection Engine
Our modular engine applies a "Defense in Depth" strategy across four distinct layers:
1. Core Cleanup Layer
- Comment Stripping: Removes all docblocks and developer notes to hide business intent.
- Whitespace Minification: Compresses the script into a dense, non-navigable block.
2. Obfuscation Layer (Static Analysis Defeat)
- Variable Renaming: Converts meaningful variables into opaque, randomized hex tokens.
- String Encoding: Encapsulates literal strings into hexadecimal escape sequences.
- Constant Math: Replaces static numbers with complex mathematical expressions computed at runtime.
3. Security Layer (Active Defense)
- Integrity Protection: Injects a self-tamper checksum. If the script is modified by even 1 character, it self-terminates.
- Anti-Debugging: Detects if Xdebug or a Zend Debugger is attached and halts execution to prevent reverse-engineering.
- Junk Code Injection: Injects dead logic to confuse automated de-obfuscation tools.
4. Wrapper Layer (The Final Seal)
- Gzip Compression: Compresses logic into a DEFLATE blob.
- Base64 Wrapper: Encodes the payload and executes it via a stealth one-line executor.
🎨 Premium Dashboard Experience
We've built a SaaS-grade interface that makes high-level security accessible:
- 7 Pro Themes: Midnight, Cyberpunk, Nord, Solarized, and more.
- Fully Responsive UI: Optimized for Laptops, Tablets, and Mobile phones with a custom ultra-compact mobile header.
- Extreme Mode: One-click activation for maximum protection levels.
- Sticky Actions: The "Obfuscate Now" command is always pinned for instant access.
- Real-Time Analytics: Visual breakdown of file size reduction, obfuscation strength, and readability loss.
- Smart Workspace: Includes Drag & Drop file support and a Collapsible Footer to maximize code space.
- Onboarding Guide: An automated visual tour on first load to showcase advanced features.
- Live Documentation: A built-in "Security Manifesto" that explains the why behind every technique.
- Text Wrapping: Toggle between raw minified views and readable inspection modes.
🚀 Installation & Setup
Option A: Standalone Studio (Recommended)
Best for a full GUI experience to protect individual files.
git clone https://github.com/mutebesi/Php-Obfuscation-Studio.git
cd Php-Obfuscation-Studio
composer install
php -S localhost:8000
Option B: As a Library (Composer)
If you want to integrate the obfuscation engine into your own PHP application or build scripts.
composer require mutebesi/php-obfuscation-studio
Programmatic Usage:
use Obfuscator\Engine; $engine = new Engine(); $obfuscatedCode = $engine->obfuscate($sourceCode, [ 'variable_renaming' => ['enabled' => true], 'integrity_protection' => ['enabled' => true] ]);
⚙️ Prerequisites
- PHP 7.4+
- Composer (for autoloading)
- zlib extension (standard in most PHP installations)
⚖️ License
This project is for developers looking to secure their own intellectual property. Always maintain a backup of your original source code before obfuscation.
Built with ❤️ for the PHP Community.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-12