Quick start
This guide takes you from zero to a running protected file. You’ll protect a file in Oxrion Cloud, install the Loader on your server, and run it.
Before you start
Section titled “Before you start”You’ll need an Oxrion account (sign up free) and a server or local environment running PHP 8.1 or later.
1. Protect a file
Section titled “1. Protect a file”Sign in to Oxrion Cloud and open the Encoder. Upload a .php file, leave the access mode on Public for now, and encode it. You’ll get back a protected version of your file — download it.
That protected file is no longer readable source. It can only run on a server with the Oxrion Loader installed, which you’ll set up next.
2. Install the Loader
Section titled “2. Install the Loader”On the server where the file will run, install the Oxrion Loader. In short: download the build that matches your PHP version, add one line to your php.ini, and restart PHP.
The full walkthrough is in Loader installation.
3. Run it
Section titled “3. Run it”Place the protected file in your project and run it exactly as you would any PHP file — include it, route to it, or execute it directly. With the Loader installed, it just works.
php protected-file.phpWhat’s next
Section titled “What’s next”You’ve protected and run your first file. From here:
- Control where your code runs — see Public vs private access.
- License your software to customers — bind files to a domain and expiry with the Licenser.
- Keep a way back to your source — enable Recovery Mode when you encode.