PHP code example of kilvn / ripple-api
1. Go to this page and download the library: Download kilvn/ripple-api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kilvn / ripple-api example snippets
$address = "";
$secret_key = "";
$ripple = new \IEXBase\RippleAPI\Ripple($address, $secret_key = "");
//$account = $ripple->getAccount();
//dump($account);
$balance = $ripple->getAccountBalances();
dump($balance);
bash
> curl -sS https://getcomposer.org/installer | php