Download the PHP package hardcastle/xrpl_php without Composer
On this page you can find all versions of the php package hardcastle/xrpl_php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package xrpl_php
PHP XRPL
PHP SDK / Client Library to interact with the XRP Ledger. It offers all the functionality available in the JavaScript and Java Versions emphasizing robustness and code readability for those interested in looking under the hood and getting into the nitty-gritty of XRPL development.
Features
- Managing keys & creating test credentials
- Submitting transactions to the XRP Ledger
- Sending requests to observe the ledger
- Creating and signing transactions (e.g. Payments) to modify the ledger state
- Parsing ledger data into more convenient formats
Installation
This library is installable via Composer:
composer require hardcastle/xrpl_php
Requirements
This library requires PHP 8.1 or later as well as the PHP extension GMP.
Examples
The "Quickstart" Examples
These examples reproduce the functionality from the JavaScript quickstart examples:
How-to Examples
These examples show how to use key features:
Core Examples
These examples can be used to explore XRPL core functionality:
Run the project via Docker
-
In the project directory, start the project and open a shell:
- In the container shell, install the composer dependencies:
Run Tests
You can run the tests with the following command:
You can perform static code analysis with psalm with the following command:
Try it yourself
Issuing an Account Info request:
Making a payment:
All versions of xrpl_php with dependencies
codedungeon/php-cli-colors Version ^1.12
ext-bcmath Version *
guzzlehttp/guzzle Version ^7.4
php-ds/php-ds Version ^1.4
simplito/elliptic-php Version ^1.0.12
simplito/bn-php Version ^1.1.4
hardcastle/buffer Version ^0.2.0