A library for PHP that interacts with the relictum blockchain API

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 3

Forks: 5

pkg:composer/relictumblockchain/rphpsdk

1.4 2022-01-17 13:24 UTC

This package is auto-updated.

Last update: 2025-12-21 17:59:03 UTC


README

A library for PHP that interacts with the relictum blockchain API

Install

> composer require relictumblockchain/rphpsdk

Requirements

  • PHP >7.3

Example

// Create configurator and set node uri
$configurator = new Relictum\RPHPSDK\RequestConfigurator(['config' => ['base_uri' => 'http://190.2.146.126/api/']]);

// Create a new request
$request = new Relictum\RPHPSDK\Request($configurator);

// Output node api version
var_dump($request->getApiVersion()->version);

See the examples folder for more use cases.