2017 © Pedro Peláez
 

library changelly

A PHP wrapper for the Changelly API.

image

pxgamer/changelly

A PHP wrapper for the Changelly API.

  • Tuesday, January 2, 2018
  • by PXgamer
  • Repository
  • 0 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

changelly

![Latest Version on Packagist][ico-version] Software License ![Build Status][ico-travis] Style CI ![Code Coverage][ico-code-quality] Total Downloads, (*1)

A PHP wrapper for the Changelly API., (*2)

Install

Via Composer, (*3)

$ composer require pxgamer/changelly

Usage

Creating instances, (*4)

use pxgamer\Changelly\{Currencies,Transactions,Message};

$currencies = new Currencies();
$transactions = new Transactions();

Retrieve an array of currency names, (*5)

Retrieve an array of strings stating the name of the currency., (*6)

$currencies->get();

Retrieve an array of currency stdClass instances, (*7)

These contain the following information:, (*8)

  • name
  • fullName
  • enabled
$currencies->getFull();

Retrieve the minimum amount required to convert between 2 currencies, (*9)

$currencies->minimumAmount('btc', 'etc');

Retrieve the estimated exchange value between 2 currencies, (*10)

$currencies->exchangeAmount('btc', 'etc', 1.0);

Retrieve an array of transactions, (*11)

Returns an array of transaction stdClass instances containing the following values:, (*12)

  • id
  • createdAt
  • payinConfirmations
  • status
  • currencyFrom
  • currencyTo
$transactions->get();

Retrieve a single transaction's status by ID, (*13)

Returns a transaction status string., (*14)

$transactions->status('id');

Change log

Please see CHANGELOG for more information on what has changed recently., (*15)

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*16)

Security

If you discover any security related issues, please email security@pxgamer.xyz instead of using the issue tracker., (*17)

Credits

License

The MIT License (MIT). Please see License File for more information., (*18)

The Versions

02/01 2018

dev-develop

dev-develop

A PHP wrapper for the Changelly API.

  Sources   Download

MIT

The Requires

 

The Development Requires

02/01 2018

dev-master

9999999-dev

A PHP wrapper for the Changelly API.

  Sources   Download

MIT

The Requires

 

The Development Requires

02/01 2018

v1.0.1

1.0.1.0

A PHP wrapper for the Changelly API.

  Sources   Download

MIT

The Requires

 

The Development Requires

21/12 2017

v1.0.0

1.0.0.0

A PHP wrapper for the Changelly API.

  Sources   Download

MIT

The Requires

 

The Development Requires