Oxrion Loader
The free PHP extension that runs Oxrion-encrypted PHP files. Install it once per server — protected files then run like any other PHP.
PHP 8.1–8.5 on Linux and Windows
<?php if(!function_exists('oxrion_loader')){die('Oxrion Loader extension required. See https://oxrion.com/loader/install');}return oxrion_loader();__halt_compiler();?>P4bWPdECNNNNNNCoyrauQZFOaXVZzvFrBb2ANjMhgDJgkMnK0Tg+shOEvfL52MyNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNlQiSVgM4GA7W8pK4PuNNNNbem28TcwtThVUx/SYX69/JcCmN0M4QvvArvl7ctMzTfpSjN+sZnsnhmjDtR1NLdjzqXBjiJz8I/yy5mfdiCQbw7/YFjRNCrzCKHQfPl/nTiNH1Z6RLJ+6qxKP8qO0o6hzCPZaaj9rdfPBmE/iLavM7vVSKM8BrTss12tRmeMWw4sD6EUeX0xP1j5m3Jme+65TojJnn91OPtBDzKyRoCu==
$ php oxrion-check.php
press Run
Same file, for your own server: download oxrion-check.php, upload it next to your site and open it in a browser.
| Plain PHP | Protected | Difference | |
|---|---|---|---|
| OPcache on | |||
| Fastest run | 9.68 ms | 9.57 ms | −1.1% |
| Memory | 23 KB | 23 KB | ±0.0% |
| OPcache off | |||
| Fastest run | 11.0 ms | 11.2 ms | +1.1% |
| Memory | 157 KB | 169 KB | +7.6% |
Runs protected code, and nothing else
The loader has one job: check each protected file, then let PHP run it. Everything else on the server stays as it was.
- Tamper-proof files
- Every protected file is signed. The loader checks it before running, so a file changed by even one byte won't run.
- Licenses checked on the server
- Licensed files run only on the host and until the date in their license. The check happens locally — no license server to keep online.
- No calls home
- The loader has no network code. It never contacts Oxrion or anyone else, so it runs on firewalled and offline servers.
- One file, every PHP version
- The same protected file runs on PHP 8.1–8.5. When the server's PHP is upgraded, only the loader build changes.
- Install once per server
- One loader runs every protected file on the server, from any Oxrion developer. Nothing to set up per project.
- Errors that say what to fix
- A changed file, a missing license or an expired date each get a clear message — not a blank page.
The piece that runs your protected code
Oxrion protects source code so it can run without being read. The loader is a small PHP extension installed on the server where protected code lives. It checks each file, decrypts it in memory and hands it to PHP — the original source never touches the disk.
It's free, with no account or signup. Whoever runs your protected code installs it once; every file you protect runs on the same loader. It works alongside OPcache, so production stays as fast as before.
Looking to protect code rather than run it? Use the Web Encoder, Oxrion Desktop or the command line — see the tools.
| Installs as | A PHP extension, once per server |
|---|---|
| Runs on | PHP 8.1–8.5 |
| Servers | Linux and Windows |
| Price | Free, no account |
| Network access | None |
| Works with | OPcache |
Install it once
Put the loader on your server.
Check whether your host already ships it, install it yourself in one command, or download a build by hand.
- Runs on
- PHP 8.1–8.5
- Servers
- Linux and Windows
- Price
- Free
- Calls home
- Never