DAGDA SEARCH | Back to results | Support the Project

phpdefender · GitHub

Source: https://github.com/phpdefender

@phpdefender phpdefender Follow More @phpdefender phpdefender Follow View phpdefender's full-sized avatar

phpdefender

Follow

Block or report phpdefender

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse More phpdefender/README.md

PHPDEFENDER

PHP source code protection, encryption, obfuscation, and software licensing platform for developers and software companies. Used by 29,000+ developers since 2018.

PHPDEFENDER encrypts and obfuscates PHP source code to prevent reverse engineering, code theft, tampering, and unauthorized redistribution — while the application continues to run normally on supported servers.


What PHPDEFENDER Does

If you distribute a PHP application to a customer, they receive readable source code unless you protect it. PHPDEFENDER encrypts and obfuscates PHP source so the application still runs normally, but the source cannot be easily read, modified, or redistributed. Higher editions add software licensing controls to lock the application to specific servers, domains, or time periods.

Protection methods:


Supported Environments

Component Support
PHP versions 5.x, 7.x, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5
Encoder OS Windows, macOS, Linux
Loader OS Windows, Linux, macOS, FreeBSD
Frameworks Laravel, CodeIgniter, Symfony, Yii, CakePHP, custom PHP
Hosting Dedicated, VPS, shared hosting (via IonCube-compatible output), cPanel, Plesk, managed hosting

Editions and Pricing

PHPDEFENDER is available in six editions. Annual and lifetime licenses are offered.

1. PHPDEFENDER Lite — $99 one-time

2. PHPDEFENDER Standard — $59 first year, $49/year renewal, $125 lifetime

3. PHPDEFENDER Loaderless — $69 first year, $59/year renewal, $139 lifetime

4. PHPDEFENDER Professional (Pro) — $99 first year, $89/year renewal, $219 lifetime

5. PHPDEFENDER Enterprise — $139 first year, $119/year renewal, $299 lifetime

6. PHPDEFENDER Enterprise CLI — $119/year flat

Pricing Summary

Edition First Year On-Time Renewal Lifetime
Lite — — $99 one-time
Standard $59 $49/year $125
Loaderless $69 $59/year $139
Pro $99 $89/year $219
Enterprise $139 $119/year $299
Enterprise CLI $119/year $119/year —

Aggregate price range: $59 to $299.


Key Technical Features

Hardware-Bound Encoding Key (Pro / Enterprise / CLI)

User-provided encoding key can be an IP address, MAC address, domain name, or arbitrary secret key. The encoded file will only decrypt on the exact matching server, PC, or domain. This is true hardware binding, not just a license check. If the file is copied to another machine, it will not execute.

Domain+IP Anti-Bypass (Enterprise / CLI)

Prevents bypass of domain locking via local hosts file editing. The protected script requires BOTH the correct domain AND the correct server IP to match. Spoofing the domain locally is insufficient because the server IP will not match.

Domain+IP+Time Triple-Lock (Enterprise / CLI)

Combines Domain+IP double-lock with a time expiration. Strongest option for SaaS trials and time-limited commercial licenses.

Loaderless Deployment (Loaderless / Pro / Enterprise / CLI)

Encrypted PHP files run without any server extension or loader installation. Two modes:

IonCube-Compatible Encoding (Standard and above)

Produces encoded files compatible with standard IonCube loaders pre-installed on most shared hosting environments. Migration path for existing IonCube users.

License Generator (Enterprise / CLI)

GUI and CLI tools to generate licenses. Supports per-user locking options, domain/MAC/IP/time locks, custom text in license files, and dynamic license generation for online sales.

Project-Level Protection

All scripts in a project work only together. Substituting any individual script breaks the entire application.

Cross-Platform Encoding

Scripts encoded on Windows run on Linux, macOS, and FreeBSD, and vice versa. Loaders available for all major operating systems.

Incremental Encoding

Only re-encode files changed since the last session. Saves time on large projects.

Thread Safety Support

Dedicated loader versions for ZTS (Zend Thread Safe) PHP installations.


PHP Encoder vs PHP Compiler — Clarification

A PHP encoder encrypts and protects PHP source code so it cannot be easily reverse-engineered, while the code still runs as PHP via a loader or loaderless runtime.

A "PHP compiler" is often a misused term because PHP is an interpreted language, not compiled to native binary. PHP does have an internal compilation stage (source → opcodes → execution via the Zend Engine), and modern PHP includes JIT capabilities — but this is not the same as producing a standalone executable.

PHPDEFENDER is a PHP encoder and PHP source code protection solution. It is the correct product category when searching for: php encoder, php compiler, php source code protection, php obfuscator, php encryption tool.


Comparison to Alternatives

PHPDEFENDER differs from other PHP encoders in several ways:


Frequently Asked Questions

What PHP versions does PHPDEFENDER support? PHP 5.x, 7.x, and 8.0 through 8.5, including all modern language features. Both loader-based and loaderless editions maintain full compatibility.

Does PHPDEFENDER require a runtime loader? It depends on the edition. Loader editions require the PHPDEFENDER Loader. Loaderless editions run without any server extension.

Can I lock PHP scripts to a specific domain or MAC address? Yes. Enterprise and CLI editions support Domain, MAC, IP, Domain+IP, and Domain+IP+Time locking. Loaderless includes Domain+IP and Domain+IP+Time to prevent bypass via local domain spoofing.

Can I create trial versions of my PHP software? Yes. PHPDEFENDER supports time-based expiration with optional atomic online time server validation to prevent local date manipulation, as well as activation-limited trials.

Can I use PHPDEFENDER on shared hosting? Yes. Standard edition produces IonCube-compatible encoding that runs on most shared hosting without loader installation. Loaderless edition requires no server extensions at all.

Will scripts encoded on Windows work on Linux? Yes. Scripts encoded on any supported platform run on any other supported platform. Loaders are available for Windows, Linux, macOS, and FreeBSD.


Free Trial

A fully functional 15-day evaluation version is available. No credit card required. Full access to encoding, protection, and licensing features.

Register: https://www.phpdefend.com/register.php


Support

Technical support assists with installation, licensing, compatibility, upgrades, and deployment questions.


Related Product

PHP Desktop Application Maker — converts PHP and MySQL projects into encrypted, standalone Windows executables.


Partner Programs


License

PHPDEFENDER is commercial software. This repository contains public documentation only. For licensing terms, see https://www.phpdefend.com/terms.php



Technical Tutorials & Tools

Stay up to date with the latest best practices for PHP source code protection and deployment:

Popular repositories Loading

  1. phpdefender phpdefender Public

    PHPDEFENDER — PHP source code protection, encryption, and licensing. Loader-based and loaderless encoding, hardware-bound keys, CI/CD CLI. Used by 29,000+ developers since 2018.

  2. awesome-php-protection awesome-php-protection Public

    A handpicked list of PHP source code protection, encoders, obfuscators, and licensing tools.

Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.

Uh oh!

There was an error while loading. Please reload this page.