Use Composer: require: "danielmewes/php-rql": "dev-master"
Install manually:
Download the ZIP file of this repository or clone it using git.
Unpack it.
Copy the contents of the src directory (folders pb4php and rdb) into the path of your PHP project, or your system's PHP path (e.g. /usr/share/php).