Encrypted source packages
Distribute authenticated encrypted PHP files instead of your original readable source files.
Ship your PHP application without distributing readable source files. PHP Guard is an open-source project built around encrypted source packages, a native runtime loader, and locally managed keys.
An open-source approach to reducing source exposure while keeping deployment and key management under your control.
Distribute authenticated encrypted PHP files instead of your original readable source files.
A C extension designed to integrate protected files with the PHP compilation pipeline.
Provision separate encryption keys for customer deployments instead of sharing one universal secret.
No activation, subscriptions, customer registration, or remote license checks. The runtime uses locally provisioned key material.
Designed for Linux environments using PHP-FPM and CLI, with explicit compatibility and runtime tests.
Signed release manifests and package validation help detect unexpected changes to protected artifacts.
PHP Guard separates your private build process from the customer's runtime. The customer gets the encrypted application package and the local runtime components needed to execute it, not your original source tree.
Encrypt source files, generate the release manifest, and validate the output before delivery.
Generate and install the key securely on the target server. No license service or activation request is involved.
The extension verifies authorization and package integrity, then hands valid source to PHP for execution.
PHP Guard is intended to be an open-source tool that you can inspect, build, and run on your own infrastructure. Protected application files use authenticated encryption, while key management stays local to your deployment.
Explore encrypted PHP packages, local key management, and a native runtime loader designed for PHP 8.4+.
Talk about PHP Guard