Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

PHP Cipher

A lightweight, privacy-first PHP code obfuscator that runs entirely in your browser.

🇺🇸 English | 🇮🇷 فارسی


🇺🇸 English

Overview

PHP Cipher is a client-side PHP code obfuscator that helps developers make their source code harder to read by applying different obfuscation techniques.

No files are uploaded to any server. Everything is processed locally in your browser.

Note: This project is an obfuscation tool, not a real encryption solution.


Features

  • 🔒 Client-side only
  • 🚫 No server uploads
  • ⚡ Fast processing
  • 📦 Multiple obfuscation methods
    • Base64
    • Base64 + Deflate (Gzip)
    • ROT13
  • 🧹 Remove PHP comments
  • 📄 Minify whitespace
  • 📋 One-click copy
  • 💾 Download obfuscated PHP file
  • 🌙 Modern dark UI
  • 📱 Responsive design

Technologies

  • HTML5
  • CSS3
  • Vanilla JavaScript
  • PHP

How to Use

  1. Paste your PHP code.
  2. Select an obfuscation method.
  3. (Optional) Enable comment removal and whitespace compression.
  4. Click Obfuscate.
  5. Copy or download the generated PHP file.

Project Structure

/
├── index.html
├── preview.png
└── README.md

Security Notice

PHP Cipher does not encrypt PHP code.

The generated output can still be decoded because PHP must execute the original source code at runtime.

For real commercial protection, consider using:

  • ionCube Loader
  • Zend Guard
  • Swoole Compiler

License

Licensed under the MIT License.


🇮🇷 فارسی

معرفی

PHP Cipher یک ابزار Obfuscator برای کدهای PHP است که کاملاً در مرورگر اجرا می‌شود و بدون ارسال اطلاعات به سرور، کدهای PHP را به شکلی مبهم تبدیل می‌کند تا خواندن آن‌ها دشوارتر شود.

توجه: این پروژه ابزار رمزنگاری واقعی نیست و تنها برای مبهم‌سازی (Obfuscation) کد استفاده می‌شود.


امکانات

  • 🔒 اجرای کامل در مرورگر
  • 🚫 بدون ارسال اطلاعات به سرور
  • ⚡ سرعت بالا
  • 📦 پشتیبانی از چند روش مبهم‌سازی
    • Base64
    • Base64 + Deflate (Gzip)
    • ROT13
  • 🧹 حذف کامنت‌های PHP
  • 📄 فشرده‌سازی فاصله‌ها
  • 📋 کپی خروجی با یک کلیک
  • 💾 دانلود فایل PHP
  • 🌙 رابط کاربری تیره
  • 📱 سازگار با موبایل

نحوه استفاده

  1. کد PHP خود را وارد کنید.
  2. روش مبهم‌سازی را انتخاب کنید.
  3. در صورت نیاز حذف کامنت‌ها یا فشرده‌سازی فاصله‌ها را فعال کنید.
  4. روی دکمه Obfuscate کلیک کنید.
  5. خروجی را کپی یا دانلود کنید.

ساختار پروژه

/
├── index.html
└── README.md

هشدار امنیتی

این ابزار رمزنگاری واقعی انجام نمی‌دهد و تنها خواندن کد را برای افراد سخت‌تر می‌کند.

اگر قصد محافظت حرفه‌ای از پروژه‌های تجاری را دارید، از ابزارهایی مانند موارد زیر استفاده کنید:

  • ionCube Loader
  • Zend Guard
  • Swoole Compiler

شاید به زودی یه ابزار رمز گذاری حرفه ای از سمت تیم ما منتظر شود.


🤝 مشارکت

اگر پیشنهادی برای بهبود پروژه دارید، خوشحال می‌شوم Pull Request یا Issue ثبت کنید.


⭐ حمایت

اگر این پروژه برایتان مفید بود، با دادن یک Star ⭐ از آن حمایت کنید.

About

Client-side PHP code obfuscator with Base64, Gzip and ROT13 support.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages