How Oxrion works
Oxrion lets you use and distribute your software while keeping its source code private. Here is the whole picture: the three pieces, the steps, the keys and tokens, and what happens to your code.
An encoder, the tools you protect with, and a loader
-
Your computer
Web Encoder or Oxrion Desktop
Choose what to protect in your browser or in the free app (Windows, macOS and Linux). The app also signs licenses, recovers source and keeps your keys in the Vault, offline.
Learn more -
Oxrion
The Encoder
The service that protects your files. It receives only the PHP files you select, protects them in memory and returns them. Nothing is stored.
Learn more -
The server that runs the code
The Oxrion loader
A free PHP extension, installed once per server. It checks each protected file and runs it. PHP 8.1–8.5, 64-bit, Linux and Windows.
Learn more
From source to a licensed delivery
-
Get your Encoder Token
Create an account in the Oxrion Console and generate your Encoder Token — it starts with oxe_. It tells the Encoder which account you protect with, so keep it private like a password. It only grants access; it doesn't encrypt anything. Save it in the Vault and Oxrion Desktop fills it in for you.
Account & Encoder Token → -
Choose files and options
Drop a .php file, a folder or a ZIP into the Web Encoder or Oxrion Desktop, and tick the PHP files to protect — usually your own code, not third-party libraries. Then turn on the options this delivery needs: Server lock, License, Recovery, Stamp or Expiry.
The Encoder → -
Protect
Only the selected PHP files and your options are sent, over an encrypted connection. They're protected in memory and handed straight back into your output folder — with the rest of the project copied alongside, or as one ZIP.
Data & privacy → -
Deploy and run
Upload the protected project. The server needs the free Oxrion loader — on a VPS, one command installs it; on shared hosting, your host adds it. One protected file runs on every supported PHP version (8.1 – 8.5), so customers can upgrade PHP without new files from you.
Install the loader → -
License your customers
If you protected with the License option, sign a small .lic file for each customer's host — a domain, localhost or an IP — with an optional expiry. Signing happens offline with your own key. Your customer puts the file in the project's root folder; without a valid license, the code doesn't run.
Licenses →
Every key and token, and where it goes
Oxrion Desktop keeps them in the Vault: one encrypted file on your computer, unlocked with one password. Private keys never leave it.
| Name | What it's for | Where it goes |
|---|---|---|
| Encoder Token | Identifies your account when you protect. From the Oxrion Console; starts with oxe_. | Sent to Oxrion with each protection |
| License key pair | The public key binds files to licenses; the private key signs the licenses. | Public key: into the files. Private key: never leaves your computer |
| Recovery key pair | The public key makes files recoverable; the private key restores them. | Public key: into the files. Private key: never leaves your computer |
| External key | For Server lock: a secret the server must hold in its environment. It is part of decryption. | To the Encoder when protecting, then discarded; and to your server |
| Email password & webhook secret | For emailing licenses and signing webhooks. | Your own email provider; nowhere else |
Decide how each file may run
Every protected file is encrypted and signed — change a byte and it refuses to run. On top of that:
- Server lock Credits
- Runs only where your external key is set in the server's environment.
- License Credits
- Runs only on a host with a valid license file from you.
- Recovery Every file
- Lets you restore the original source later, offline, with your private key.
- Stamp Every file
- Embeds identifying notes — system notes on every file, your own notes with credits.
- Expiry Credits
- The file stops running after a date you choose.
Getting your source back
Recovery is a safety net for the day you lose your source, or need to change code you only have in protected form. It's free for every file and works offline.
-
Create a recovery key pair
In the Vault. The public key can be shared; the private key stays with you.
-
Protect with Recovery on
Give the Encoder the public key. It's embedded in every protected file.
-
Restore when you need to
Open Recovery in Oxrion Desktop, give it the protected files and the private key, and choose an output folder. You get the original source back — nothing is sent anywhere.
Note
Only files protected with Recovery can be restored, and only with the matching private key — no one else can, including Oxrion. Keep your original source and back up your Vault.
Three things cross the line. Nothing else does.
Never leaves your computer
- Your private keys and the Vault
- The licenses you sign, and your License History
- Everything Recovery restores
Sent to Oxrion when you protect
- The PHP files you selected — nothing else from your project
- Your options, and the public keys and external key they use
- Your Encoder Token, to identify your account
Protected in memory and returned straight away. Oxrion keeps neither your source nor the protected output.
Frequently asked questions
Can't find what you're looking for? Reach out — we read every message.
-
Will my protected files run on my server?
Yes, if it runs PHP 8.1–8.5 on Linux or Windows. The server needs the free Oxrion Loader, a PHP extension installed once. Then protected files run like any other PHP — plain PHP or a framework such as Laravel, WordPress, OpenCart or Drupal — with no changes to your application.
-
What PHP versions are supported?
PHP 8.1 through 8.5 (64-bit), on Linux and Windows. You protect once: the same protected file runs on every supported version, so customers can upgrade PHP without new files. The Oxrion Desktop app, where you protect your code, runs on Windows, macOS and Linux.
-
Is my source code safe when I protect it?
Yes. Files are sent over an encrypted connection, processed in memory and discarded once the protected result is returned. Nothing is stored on our side, and licenses are created on your machine.
-
Can I protect a whole project at once?
Yes. Point the Oxrion Desktop app or the Web Encoder at a folder or drop in a ZIP and every PHP file inside is protected in one pass, with your folder structure preserved.
-
Where does encryption happen?
On Oxrion's encoder service. The Desktop app and the Web Encoder send only the PHP files you select, over an encrypted connection and with your Encoder Token; they're protected in memory and handed straight back. Nothing is written to permanent storage. Everything else stays on your device; licensing, recovery and your keys run on your machine in the Desktop app.
Your first protected file
Protect a file now. Ship it today.
Drop a folder, a ZIP or one PHP file into the Web Encoder and download the protected project. No card, nothing to install.
- Free
- 500 free files a month
- Runs on
- PHP 8.1–8.5
- Servers
- Linux and Windows
- Source kept by Oxrion
- None