Quick start
Let’s protect a real file and run it. By the end you’ll have done the full loop once — after that, everything else is a variation on these steps.
You’ll need about ten minutes, and a place to run PHP (a server, or PHP on your own machine).
1. Get your Encoder Key
Section titled “1. Get your Encoder Key”Create an account at app.oxrion.com and pick a plan. Copy your Encoder Key from the dashboard — you’ll paste it in a moment.
2. Install the Desktop app
Section titled “2. Install the Desktop app”Download it from oxrion.com/download and open it. Paste your Encoder Key when asked. That’s the setup — done once.
(The CLI handles licensing and recovery in the terminal today; protecting code from the CLI is coming soon, so this walkthrough uses the Desktop app.)
3. Protect a file
Section titled “3. Protect a file”In the Encoder, pick a PHP file — any small script that prints something is perfect for a first run. Leave the protection options off for now; you’re just proving the loop works.
Press protect. You get back a protected version of your file. Open it in a text editor if you like — where your code used to be, there’s now an unreadable protected file. That’s the point.
Want to see exactly what the screens look like? → Using the app
4. Install the loader where it will run
Section titled “4. Install the loader where it will run”Protected files need the free loader on the server that runs them. On that machine:
curl -fsSL https://get-loader.oxrion.com | sh # Linux / macOSirm https://get-loader.oxrion.com/win | iex # WindowsThen run oxrion-loader install and restart your web server. Full guide: oxrion.com/loader/install.
5. Run it
Section titled “5. Run it”Copy your protected file to that server and load it — open it in the browser, or run it with php. It runs exactly like your original did.
That’s the whole product. You protected code no one can read, and ran it anywhere with a free extension.
Now make it real
Section titled “Now make it real”The first run was deliberately plain. Here’s where the value is — each is one option you flip when you protect:
- License it to a customer — so it only runs on their domain, until a date you choose.
- Lock it to a server — so it runs on one machine and nowhere else.
- Keep the power to restore it — so your source is never truly gone.
Or revisit How Oxrion works to see how the pieces relate.