# How to Protect your PHP Scripts with Encryption & Licensing ?

https://my.nethost.co.in/knowledgebase/article/how-to-protect-your-php-scripts-with-encryption-licensing

[PHP Encoder 10](https://www.ioncube.com/?xp=CAPCYX)

### Protect your PHP Scripts with Encryption & Licensing

[](https://www.ioncube.com/?xp=CAPCYX)

- Support for PHP 4, 5, 7.1 and 7.2 language features.
- PHP 7.3 & 7.4 support for running PHP 7.1 and 7.2 protected files.
- Unique External and Dynamic Keys encryption feature for the ultimate in PHP security.
- Compiled Bytecode protection.
- Command line plus GUI for Windows and macOS.
- Binary code obfuscation.
- Optional expiry, domain, IP and MAC locking for effective code licensing.
- One time purchase with no annual renewal.
- and [more...](https://www.ioncube.com/php_encoder.php)

Discover why ionCube is the leading choice to secure PHP scripts with a [Free Trial](https://www.ioncube.com/?xp=CAPCYX) today.

## With the ionCube Encoder, you can...

- Protect PHP scripts with compiled bytecode for best performance and protection.
- Use optional encryption keys that are not stored but generated only when needed (Dynamic Keys). Our unique feature gives greatly increased protection over alternatives that store a decryption key in the protected file or that do not offer encryption at all.
- Produce encoded PHP files to run on PHP 7.4 and earlier.
- Use PHP language features up to PHP 7.2.
- Encrypt non-PHP files such as XML and templates.
- Generate license files to restrict access to encoded files (Pro/Cerberus editions).
- Enable one way transformation (obfuscation) of variables and function, method and class names.
- Encode PHP shell scripts.
- Prevent file tampering through use of digital signatures.
- Prevent replacement of encoded files by others.
- Generate files to expire on a given date or after a time period (Pro/Cerberus editions).
- Restrict files to run on any combination of IP addresses and/or server names (Pro/Cerberus editions).
- Restrict files to run on specific MAC addresses (Cerberus edition).
- Integrate with [the ionCube Package Foundry](https://www.ioncube.com/ipf/?xp=CAPCYX).
- Add readable comments to encoded files for custom copyright, license details etc.
- Have custom messages and custom handling when files expire or aren't permissioned to run.
- And more!

[Get Ioncube Encoder](https://www.ioncube.com/?xp=CAPCYXs)
