Require it with Composer composer require confide/php-sdk dev-master.
Copy .env.example to .env and run the tests or examples. Two examples are included:
example.php- example order creation, and redirection to payment formcallback.php- example callback processing
Read full documentation in the wiki