How Oxrion works
Oxrion has three parts: the Encoder protects your code, the Licenser issues licenses, and the Loader runs protected code on a server. You use the first two in Oxrion Desktop — or protect in your browser with the Web Encoder — and the Loader is installed on the server.
1. Get your Encoder Token
Section titled “1. Get your Encoder Token”Create an account in the Oxrion Console and generate your Encoder Token. It identifies your account when you protect code, and it is what Oxrion Desktop and the Web Encoder use to reach the Encoder. A Free account works right away. See Account & Encoder Token.
2. Protect your code
Section titled “2. Protect your code”In Oxrion Desktop, choose your files and an output folder, then press Protect. Only the .php files you select are sent to the Encoder; everything else stays on your computer. Your source is not stored. You get back protected copies in the output folder.
The Web Encoder works the same way in your browser: drop a folder, a .zip or a .php file, and download the protected project as a .zip.
When you protect, you can also choose how the code may run — bound to a license, locked to a server, with an expiry date — and whether it can be recovered later. See Protection options.
3. Run it on your server
Section titled “3. Run it on your server”Install the Oxrion Loader on the server and upload the protected files. They run like normal PHP. If you protected with a license, the customer also needs a license file for their host. See Licenses.
What happens where
Section titled “What happens where”| What you do | Where | Needs the internet? |
|---|---|---|
| Protect code | Encoder in Oxrion Desktop, or the Web Encoder | Yes |
| Issue a license | Licenser in Oxrion Desktop or the CLI | No (only emailing or webhooks use the internet) |
| Restore source | Recovery in Oxrion Desktop or the CLI | No |
| Store keys | Vault in Oxrion Desktop | No |
| Run protected code | Oxrion Loader on your server | No |
Everything except protecting code works offline. Your license and recovery private keys never leave your computer.