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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shucream0117/btcphp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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 today

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 21% 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)
```

###  Alternatives

[haydenpierce/class-finder

A library that can provide of a list of classes in a given namespace

3215.8M128](/packages/haydenpierce-class-finder)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49517.1k](/packages/blackfire-player)[marcin-orlowski/lombok-php

Never write boilerplate code for your data class again!

3119.5k1](/packages/marcin-orlowski-lombok-php)

PHPackages © 2026

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