PHPackages                             haydenw/nzbcx-api - 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. haydenw/nzbcx-api

ActiveLibrary[API Development](/categories/api)

haydenw/nzbcx-api
=================

NZBCX API library

011PHP

Since Jul 30Pushed 10y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

NZBCX Bitcoin Exchange API PHP wrapper
======================================

[](#nzbcx-bitcoin-exchange-api-php-wrapper)

This is a PHP wrapper library for the [NZBCX API](https://nzbcx.com/docs/api)

Installation
------------

[](#installation)

Install using [Composer](https://getcomposer.org/).

```
composer require haydenw/nzbcx-api:dev-master

```

Authentication
--------------

[](#authentication)

Modify `$apiKey`, `$apiSecret` and `$userId` to your API details. Ensure these are kept securely.

```
$apiKey = "W8X7nzwDxifU8HYo56TzSXqVRhAFhsUc8RWo";
$apiSecret = "PDmYdflwnE4jQhdvnlDkK3gBQ0E1qmSdX0sL";
$userId = "1234567";

```

Basic usage
-----------

[](#basic-usage)

```
$nzbcx = new NZBCX($apiKey, $apiSecret, $userId, true); // Create NZBCX instance in test mode

// Make calls to NZBCX functions and use the results returned
$accountBalance = $nzbcx->accountBalance();
if ($accountBalance) {
	echo "BTC Balance: ".$accountBalance->BTC_balance."\n";
	echo "NZD Balance: ".$accountBalance->NZD_balance."\n";
}
```

See `example.php` for more detailed code usage.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d3c4faad9d9cc5d290f62638c7358795d3814eeffeb044f1fb3aba544d92981?d=identicon)[haydenw](/maintainers/haydenw)

---

Top Contributors

[![haydenw](https://avatars.githubusercontent.com/u/6495872?v=4)](https://github.com/haydenw "haydenw (8 commits)")[![NZBCX](https://avatars.githubusercontent.com/u/13564270?v=4)](https://github.com/NZBCX "NZBCX (2 commits)")

### Embed Badge

![Health badge](/badges/haydenw-nzbcx-api/health.svg)

```
[![Health](https://phpackages.com/badges/haydenw-nzbcx-api/health.svg)](https://phpackages.com/packages/haydenw-nzbcx-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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