webdollar/webdollar-client-php

JSON-RPC 2.0 client for WebDollar

Maintainers

Package info

github.com/WebDollar/webdollar-client-php

pkg:composer/webdollar/webdollar-client-php

Statistics

Installs: 140

Dependents: 1

Suggesters: 0

Stars: 3

Open Issues: 0

v1.5.0 2019-04-14 15:58 UTC

This package is auto-updated.

Last update: 2026-02-19 21:57:54 UTC


README

Build Status

Installation

With Composer

$ composer require webdollar/webdollar-client-php
{
    "require": {
        "webdollar/webdollar-client-php": "^1.0"
    }
}

Usage

<?php
require 'vendor/autoload.php';

use WebDollar\Client\WebDollarClient;

$oClient = WebDollarClient::factory([
    'url'   => 'http://localhost:3333',
    'auth'  => ['username', 'password'],
    'debug' => FALSE,
]);

$oClient->clientVersion();

// or async version which will return a promise
$oClient->clientVersionAsync();