kenanduman / rphpsdk
A library for PHP that interacts with the relictum blockchain API
1.4
2022-01-17 13:24 UTC
Requires
- php: ^7.3
- guzzlehttp/guzzle: ^7.3
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.