orzfly / php-ripple-rest
This package is abandoned and no longer maintained.
No replacement package was suggested.
RippleRest client for PHP
dev-master
2014-05-22 08:50 UTC
Requires
- php: >=5.3.0
- ext-curl: *
This package is not auto-updated.
Last update: 2020-01-24 14:53:31 UTC
README
This is a client that interacts with the Ripple network using the Ripple REST APIs.
This library can be used directly by include all classes directly, or by Composer:
RippleRest::setup("http://localhost:5990"); var_dump(RippleRest::isServerConnected()); var_dump(RippleRest::getServerInfo()); var_dump(RippleRest::createUUID()); $account = new RippleRestAccount("rES1hSkoWauMk3r6sgh7zfjpTCnwGbqaxA", "sSECRET"); var_dump($account->getBalances()); var_dump($account->getSettings()); var_dump($account->getNotification("DD9F40516152090612B12F1CCD5A88828AEA8813FEBD56D9D6B39ED918F4CCCA")); $payment = $account->createPayment("rES1hSkoWauMk3r6sgh7zfjpTCnwGbqaxA", "5+XRP"); $account->submitPayment($payment);