2017 © Pedro Peláez
 

library eos-php

EOS client library in PHP

image

kesar/eos-php

EOS client library in PHP

  • Sunday, May 27, 2018
  • by kesar
  • Repository
  • 3 Watchers
  • 11 Stars
  • 37 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 61 % Grown

The README.md

EOS RPC Client in PHP

Install:

 composer require kesar/eos-php:dev-master
 ```

### Examples:

```php

use EOSPHP\EOSClient;

include 'vendor/autoload.php';

$client = new EOSClient('http://127.0.0.1:8888');

$info = $client->chain()->getInfo();
$block = $client->chain()->getBlock(2);
$account = $client->chain()->getAccount('eosio');
$code = $client->chain()->getCode('eosio');
$stats = $client->chain()->getCurrencyStats('eosio.token', 'EOS');
$balance = $client->chain()->getCurrencyBalance('eosio.token', 'eosio.token', 'EOS');
$transaction = $client->history()->getTransaction('29716ecdd6a8555fab509321faabfb5d06e0bf25db678347c360e7f85159ca38');
$actions = $client->history()->getActions('eosio.token');

print_r($actions);

The Versions

27/05 2018

dev-master

9999999-dev

EOS client library in PHP

  Sources   Download

MIT

The Requires