davmixcool/coinpayments 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

davmixcool/coinpayments

Composer 安装命令:

composer require davmixcool/coinpayments

包简介

A PHP wrapper for CoinPayments.net Api.

README 文档

README

A PHP wrapper for CoinPayments.net Api. For account instructions visit: online API documentation to learn how to setup your API Keys and get a link to your account API Keys page.

Requirements

  • PHP 5.5 and above

Steps:

Installation

Composer

Run the following command to include this package via Composer

composer require davmixcool/coinpayments

Usage

The simplest example is retrieving basic account information.

use Davmixcool\CoinPayments;

/** Scenario: Retrieve basic user account information.**/

try {
    $cps_api = new CoinPayments($private_key, $public_key, 'json');
    $information = $cps_api->GetBasicInfo();
} catch (Exception $e) {
    echo 'Error: ' . $e->getMessage();
    exit();
}

// Check for success of API call
if ($cps_api['error'] == 'ok') {
    // Prepare output

} else {
    // Throw an error if both API calls were not successful

}

See examples here. for detailed scenarios.

Maintainers

This package is maintained by David Oti and you!

License

This package is licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固