Skip to content

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.

You’ll need an Oxrion account (sign up free) and a server or local environment running PHP 8.1 or later.

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.

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.

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.

Terminal window
php protected-file.php

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.