PHPackages                             delboy1978uk/btc-exchange - 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. delboy1978uk/btc-exchange

ActiveLibrary[API Development](/categories/api)

delboy1978uk/btc-exchange
=========================

A PHP Service for connecting to various Bitcoin exchange API's

v0.1.1(5y ago)1692MITHTMLPHP &gt;=5.4.0CI failing

Since Oct 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/delboy1978uk/BTCExchange)[ Packagist](https://packagist.org/packages/delboy1978uk/btc-exchange)[ RSS](/packages/delboy1978uk-btc-exchange/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (8)Used By (0)

BTCExchange
===========

[](#btcexchange)

[![Build Status](https://camo.githubusercontent.com/81fe553dc47d89cbf7dede4329162e05e1d917f369f3d9c7879394047cdba809/68747470733a2f2f7472617669732d63692e6f72672f64656c626f7931393738756b2f42544345786368616e67652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/delboy1978uk/BTCExchange) [![Code Coverage](https://camo.githubusercontent.com/53ad007dc3f15c6c64d05476348d938790dc24892bc7f4ee73730d4e6683aaea/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64656c626f7931393738756b2f62746365786368616e67652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/delboy1978uk/btcexchange/?branch=master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/e35cbdd873b556e52eeefcc221e53e9d4560322e40f4a34d1608512833672d14/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64656c626f7931393738756b2f62746365786368616e67652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/delboy1978uk/btcexchange/?branch=master)
a btcexchange PHP setup for writing a new Github project with Composer and Packagist complete with travis builds and scrutinizer code coverage &amp; quality analysis A PHP Service for connecting to various Bitcoin exchange API's ##Installation

```
composer require delboy1978uk/btcexchange

```

\##Usage

```
use Del\BTCTradeApi;

$settings = [
    'btce' => [
        'key' => 'blah',
        'secret' => 'blah',
    ],
    'kraken' => [
        'key' => 'blah',
        'secret' => 'blah',
    ],
    //etc. BTC-e is the only API currently written, more coming soon
]
$api = new BTCTradeApi($settings);

$btce = $api->getBtcEExchange();
$result = $btce->buyOrder(3.2, 240.221); // Buy 3.2BTC at a price of $240.221 per Bitcoin
```

\###API Methods

```
$btce->buyOrder($btc_amt, $price);
$btce->cancelOrder($id);
$btce->getInfo();
$btce->getOrders();
$btce->getTicker();
$btce->getTradeHistory();
$btce->getTransactionHistory();
$btce->sellOrder($btc_amt, $price);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Recently: every ~254 days

Total

7

Last Release

2073d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f20859ab2082170605b5961bb1f12493b087b08b7efa3ab0087ddbe0c9e0a94c?d=identicon)[delboy1978uk](/maintainers/delboy1978uk)

---

Top Contributors

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

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/delboy1978uk-btc-exchange/health.svg)

```
[![Health](https://phpackages.com/badges/delboy1978uk-btc-exchange/health.svg)](https://phpackages.com/packages/delboy1978uk-btc-exchange)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.3M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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