PHPackages                             sigismund/coinpayments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. sigismund/coinpayments

ActiveLibrary[Payment Processing](/categories/payments)

sigismund/coinpayments
======================

CoinPayments API client

v1.0.2(7y ago)49665[2 PRs](https://github.com/sigismund/coinpayments/pulls)MITPHP

Since Jul 12Pushed 7y ago3 watchersCompare

[ Source](https://github.com/sigismund/coinpayments)[ Packagist](https://packagist.org/packages/sigismund/coinpayments)[ RSS](/packages/sigismund-coinpayments/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

CoinPayments PHP library
========================

[](#coinpayments-php-library)

This is basic PHP library for [CoinPayments API](https://goo.gl/mj98qm). It's written without any external dependencies and it allows you to add your own HTTP agents like Guzzle. [CoinPayments](https://goo.gl/mj98qm) 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
------------

[](#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
---------------

[](#getting-started)

### Requirements

[](#requirements)

- PHP &gt;= 7.0

This library does not have any external dependencies.

### Installation

[](#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
-------

[](#testing)

... all pull requests are welcome ;)

Contributing
------------

[](#contributing)

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

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/sigismund/coinpayments/tags).

Authors
-------

[](#authors)

- **Žiga Drnovšček** - *Initial work* - [Sigismund](https://github.com/sigismund)

See also the list of [contributors](https://github.com/sigismund/coinpayments/contributors) who participated in this project.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

Acknowledgments
---------------

[](#acknowledgments)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~160 days

Total

4

Last Release

2744d ago

Major Versions

v0.1 → v1.0.02018-05-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f7a69811f41f9f4af807c6ece328eb449cdcb3689a55245e392ea2185fae54f?d=identicon)[sigismund](/maintainers/sigismund)

---

Top Contributors

[![sigismund](https://avatars.githubusercontent.com/u/3924612?v=4)](https://github.com/sigismund "sigismund (14 commits)")

---

Tags

cryptocryptocurrencycoinpaymentspayment processorcrypto paymentcoinp ayments

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sigismund-coinpayments/health.svg)

```
[![Health](https://phpackages.com/badges/sigismund-coinpayments/health.svg)](https://phpackages.com/packages/sigismund-coinpayments)
```

###  Alternatives

[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

55126.2k](/packages/coinpaymentsnet-coinpayments-php)[victorybiz/laravel-crypto-payment-gateway

GoUrl.io Crypto Payment Gateway for Laravel

642.5k](/packages/victorybiz-laravel-crypto-payment-gateway)[hexters/coinpayment

CoinPayment is a Laravel module for handling transactions from CoinPayment like a create transaction, history transaction, etc.

7058.0k](/packages/hexters-coinpayment)[prevailexcel/laravel-nowpayments

A Laravel Package for NOWPayments

1414.2k](/packages/prevailexcel-laravel-nowpayments)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
