承接 pxgamer/changelly 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pxgamer/changelly

Composer 安装命令:

composer require pxgamer/changelly

包简介

A PHP wrapper for the Changelly API.

README 文档

README

Latest Version on Packagist Software License Build Status Style CI Code Coverage Total Downloads

A PHP wrapper for the Changelly API.

Install

Via Composer

$ composer require pxgamer/changelly

Usage

Creating instances

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

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

Retrieve an array of currency names

Retrieve an array of strings stating the name of the currency.

$currencies->get();

Retrieve an array of currency stdClass instances

These contain the following information:

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

Retrieve the minimum amount required to convert between 2 currencies

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

Retrieve the estimated exchange value between 2 currencies

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

Retrieve an array of transactions

Returns an array of transaction stdClass instances containing the following values:

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

Retrieve a single transaction's status by ID

Returns a transaction status string.

$transactions->status('id');

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

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

Credits

License

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

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固