PHPackages                             shucream0117/btcphp - 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. shucream0117/btcphp

ActiveLibrary

shucream0117/btcphp
===================

Bitcoin library for PHP

4188PHP

Since Feb 5Pushed 8y agoCompare

[ Source](https://github.com/shucream0117/btc-jsonrpc-client-php)[ Packagist](https://packagist.org/packages/shucream0117/btcphp)[ RSS](/packages/shucream0117-btcphp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

btcphp
======

[](#btcphp)

Bitcoin(Litecoin, Monacoin) library for PHP.

Requirement
-----------

[](#requirement)

- PHP ≧ 7.1

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

[](#installation)

via composer.

```
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require shucream0117/btcphp:dev-master
```

Example
-------

[](#example)

```
$btc = new \Shucream0117\Bitcoin\Bitcoin(
    'username', // rpcuser
    'password', // rpcpassword
    'localhost', // host
    19402, // port
    false // if use HTTPS
);

$response = $btc->callApi('getinfo');
$responseArray = json_decode($response->getBody()->getContents(), true);
var_dump($responseArray);

// arguments can be passed as array
// array[0] is argument1, array[1] is argument2...
$response = $btc->callApi(
    'gettransaction',
    ['dee2406ae3ed5e1edc923d69ba795edfc9e01e5cc632ed8b7bb4365df5b106c9']
);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/12001229c998d3b6726afc8439082125ff58458cbb27345c430c10e7f4e869fa?d=identicon)[shucream0117](/maintainers/shucream0117)

### Embed Badge

![Health badge](/badges/shucream0117-btcphp/health.svg)

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

PHPackages © 2026

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