Before you install XRL, make sure you have a working PHP installation.

XRL requires PHP 5.3.4 or later and the following PHP extensions:


Use php -v and php -m to retrieve information about your PHP version and available extensions.

XRL can be installed using a PHAR archive, Composer or from Sources. The PHAR approach is recommended.

PHAR archive

Download the latest PHAR available on and save it to your computer.

(For Unix/Linux users) Optionally, make the file executable.


XRL can be installed using the Composer dependency manager. Just add fpoirotte/xrl to the dependencies in your composer.json :

$ php composer.phar require fpoirotte/xrl


To install XRL from sources, use git to clone the repository:

$ git clone /new/path/for/XRL