承接 sigismund/coinpayments 相关项目开发

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

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

sigismund/coinpayments

最新稳定版本:v1.0.2

Composer 安装命令:

composer require sigismund/coinpayments

包简介

CoinPayments API client

README 文档

README

This is basic PHP library for CoinPayments API. It's written without any external dependencies and it allows you to add your own HTTP agents like Guzzle. CoinPayments is one of the largest cryptocurrency payment processors. They support over few hundred cryptocurrencies. Amongst those are better known Bitcoin, Litecoin, Ethereum, Monero... some lesser known/used coins like Ubiq, Peercoin, GameCredits and they even support shitcoins like Ripple.

Sample usage

use Sigismund\CoinPayments;

$coinPaymentsAPI = new CoinPayments($merchantID, $publicKey, $privateKey, $ipnSecret);

// Get conversion rates for all supported currencies
$rates = $coinPaymentsAPI->getRates();

// Sample transaction for 16$
$coinPaymentsAPI->createTransaction(16, 'USD', 'BTC', $additional = []);

Getting Started

Requirements

  • PHP >= 7.0

This library does not have any external dependencies.

Installation

The recommended way to install this library is through Composer.

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the latest stable version of CoinPayments PHP library:

composer require sigismund/coinpayments

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

You can then later update library using composer:

composer.phar update

Testing

... all pull requests are welcome ;)

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Žiga Drnovšček - Initial work - Sigismund

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Hat tip to anyone who's code was used
  • Inspiration
  • etc

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 3
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-07-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固