PHP SDK Demo App
Having php, php-curl and composer installed globally.
Run our demo app!
Simple Example for HEXONET:
git clone https://github.com/centralnic-reseller/php-sdk-demo php-sdk-demo-hexonet
cd php-sdk-demo-hexonet
composer update
php app_hexonet.php <your account id> <your password>
Simple Example for RRPproxy:
git clone https://github.com/centralnic-reseller/php-sdk-demo php-sdk-demo-rrpproxy
cd php-sdk-demo-rrpproxy
composer update
php app_rrpproxy.php <your account id> <your password>
Check the source code for details.
Just include "centralnic-reseller/php-sdk" with its latest version as dependency in your composer.json. You'll have then access to all the functionality provided by our SDKs.