kilvn/ripple-lib

A PHP API for interacting with Ripple RPC

v1.0.0 2020-05-20 08:49 UTC

This package is auto-updated.

Last update: 2025-06-20 19:39:21 UTC


README

Ripple API

A PHP API for interacting with the XRP PRC Ledger

Installation

The preferred method is via composer. Follow the installation instructions if you do not already have composer installed. Once composer is installed, execute the following command in your project root to install this library:

Installation is possible using Composer.

If you don't already use Composer, you can download the composer.phar binary:

> curl -sS https://getcomposer.org/installer | php

Then install the library:

> composer require kilvn/ripple-lib -vvv

Usage

Use the Ripple

$url = 'https://s1.ripple.com:51234';
$address = "r9kiSEUEw6iSCNksDVKf9k3AyxjW3r1qPf";

$ripple = new \Kilvn\RippleAPI\RippleRpcClient($url);
$balance = $ripple->account_info(['account' => $address]);
dump($balance);

Features

  • Issue rippled API requests
  • Listen to events on the XRP Ledger (transaction, ledger, etc.)
  • Sign and submit transactions to the XRP Ledger

More Information