2017 © Pedro Peláez
 

library coinpayments

CoinPayments API client

image

sigismund/coinpayments

CoinPayments API client

  • Thursday, May 10, 2018
  • by sigismund
  • Repository
  • 1 Watchers
  • 5 Stars
  • 255 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 104 % Grown

The README.md

CoinPayments PHP library

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., (*1)

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., (*2)

Installation

The recommended way to install this library is through Composer., (*3)

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

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

composer require sigismund/coinpayments

After installing, you need to require Composer's autoloader:, (*5)

require 'vendor/autoload.php';

You can then later update library using composer:, (*6)

composer.phar update

Testing

... all pull requests are welcome ;), (*7)

Contributing

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

Versioning

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

Authors

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

See also the list of contributors who participated in this project., (*10)

License

This project is licensed under the MIT License - see the LICENSE file for details, (*11)

Acknowledgments

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

The Versions

10/05 2018

dev-master

9999999-dev

CoinPayments API client

  Sources   Download

MIT GPL v2

The Development Requires

by Žiga Drnovšček

crypto cryptocurrency coinpayments payment processor crypto payment coinp ayments

10/05 2018

dev-develop

dev-develop

CoinPayments API client

  Sources   Download

MIT

The Development Requires

by Žiga Drnovšček

crypto cryptocurrency coinpayments payment processor crypto payment coinp ayments

10/05 2018

v1.0.0

1.0.0.0

CoinPayments API client

  Sources   Download

MIT

The Development Requires

by Žiga Drnovšček

crypto cryptocurrency coinpayments payment processor crypto payment coinp ayments

12/07 2017

v0.1

0.1.0.0

CoinPayments API client

  Sources   Download

GPL v2

The Development Requires

by Žiga Drnovšček