Documentation
Learn how to protect your PHP applications with PurePHPEncryptor. From basic setup to advanced configuration.
v1.0Quick Start
Get up and running in 5 minutes. Learn the basics of encrypting your first PHP project.
Get startedLicensing
Understand hardware binding, time limits, and online validation for your customers.
Learn moreEncryption
Deep dive into AES-256-GCM encryption, key derivation, and how files are protected.
Learn moreCLI Reference
Complete command-line reference with all options, flags, and usage examples.
View referenceCore Workflow
PurePHPEncryptor follows a simple three-step workflow to protect your PHP applications:
Generate a License
Create a hardware-bound license file for your customer. Specify constraints like hostname, IP address, expiration date, and more.
ppe license:generate \
--licensee="Acme Corp" \
--hostname=prod.acme.com \
--expires=+1y \
--output=acme-corp.ppe
Encrypt Your Code
Run the encryptor on your source directory. All PHP files are encrypted with AES-256-GCM and bound to the license.
ppe encrypt \
--license=acme-corp.ppe \
src/ \
dist/
Deploy
Ship the encrypted files along with the runtime and license. Your customer runs PHP normally—the runtime handles decryption transparently.
# Your customer's server
php index.php # Just works!
Requirements
PurePHPEncryptor has minimal requirements and works on virtually any PHP environment:
| Requirement | Version | Notes |
|---|---|---|
| PHP | 8.0+ | Both CLI and web SAPI supported |
| OpenSSL extension | Any | Enabled by default since PHP 5.3 |
| zlib extension | Any | For compressed encrypted files (optional) |
| json extension | Any | Built into PHP 8.0+ |
No special extensions required! Unlike ionCube or Zend Guard, PurePHPEncryptor works on any standard PHP installation. Perfect for shared hosting.
Support
Need help? We're here for you:
- Email support: support@purephpencryptor.com
- Response time: Within 24 hours on business days
- Updates: Lifetime updates included with your license