What is the Loader?
The Oxrion Loader is a small, free PHP extension that runs protected code. You protect code with Oxrion; the Loader runs it on the server.
- Free and redistributable — your customers install it once and never pay or sign up.
- Transparent — protected files run like normal PHP, at full speed, OPcache and all.
- Tamper-checked — the Loader verifies each file’s signature and refuses to run anything that was changed.
Install it on every server that runs your protected code — typically your customer’s server. It supports PHP 8.1–8.5 on Linux and Windows.
Where it fits
Section titled “Where it fits”- You protect code with the Encoder.
- You deploy the protected files to a server.
- That server has the Loader installed, so PHP runs them normally.
What it checks
Section titled “What it checks”Before running a protected file, the Loader enforces what you chose when you protected it:
- Signature — the file must be exactly as Oxrion produced it.
- Expiry — the file’s expiry, including the 30-day limit of the Free plan, must not have passed.
- Server lock — the external key must be set in the server’s environment.
- License — a valid license file for the request’s host must be present.
If a check fails, the file doesn’t run and PHP reports an Oxrion: error. See Troubleshooting.
Downloads and release notes are also on oxrion.com/loader.