PHPackages                             davmixcool/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. [API Development](/categories/api)
4. /
5. davmixcool/coinpayments

ActiveLibrary[API Development](/categories/api)

davmixcool/coinpayments
=======================

A PHP wrapper for CoinPayments.net Api.

0.8.1(7y ago)394MITPHPPHP &gt;=5.5.0

Since Nov 23Pushed 7y ago2 watchersCompare

[ Source](https://github.com/davmixcool/CoinPayments)[ Packagist](https://packagist.org/packages/davmixcool/coinpayments)[ Docs](https://github.com/davmixcool/CoinPayments)[ RSS](/packages/davmixcool-coinpayments/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

CoinPayments.net PHP API Wrapper.
=================================

[](#coinpaymentsnet-php-api-wrapper)

A PHP wrapper for CoinPayments.net Api. For account instructions visit: [online API documentation](https://www.coinpayments.net/apidoc-intro) to learn how to setup your API Keys and get a link to your account API Keys page.

Requirements
------------

[](#requirements)

- PHP 5.5 and above

Steps:
------

[](#steps)

- [Installation](#installation)
- [Usage](#usage)
- [Example](#example)
- [Maintainers](#maintainers)
- [License](#license)

### Installation

[](#installation)

**Composer**

Run the following command to include this package via Composer

```
composer require davmixcool/coinpayments
```

### Usage

[](#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](https://github.com/davmixcool/CoinPayments/tree/master/example). for detailed scenarios.

### Maintainers

[](#maintainers)

This package is maintained by [David Oti](http://github.com/davmixcool) and you!

### License

[](#license)

This package is licensed under the [MIT license](https://github.com/davmixcool/coin-payments/blob/master/LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

2727d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58f0b7a6b4a01c486263394e1414b3296ded35a5b565213a77aa906410137beb?d=identicon)[davmixcool](/maintainers/davmixcool)

---

Top Contributors

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

---

Tags

phpapicurrencycryptopaypalbitcoinmerchantcryptocurrencyethereumcoinpaymentspayment processor

### Embed Badge

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

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

###  Alternatives

[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

55126.2k](/packages/coinpaymentsnet-coinpayments-php)[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

41.5k328.9k1](/packages/ccxt-ccxt)[kornrunner/ccxt

A PHP cryptocurrency trading library with support for more than 90 bitcoin/altcoin exchanges

371.6k](/packages/kornrunner-ccxt)

PHPackages © 2026

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