PHPackages                             adewebcombr/rpcjson - 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. adewebcombr/rpcjson

ActiveLibrary[API Development](/categories/api)

adewebcombr/rpcjson
===================

Comandos RPC BTC

v1.0.0(4y ago)06GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Feb 27Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

\#BItCoin A simple class for making calls to Bitcoin's API using PHP. font :

Utilização
----------

[](#utilização)

Initialize Bitcoin connection/object

```
use Adewebcombr\JsonRpc\BitCoin;
$bitcoin = new Bitcoin('username','password');

//Optionally, you can specify a host and port.
$bitcoin = new Bitcoin('username','password','host','port');
// Defaults are:
//	host = localhost
//	port = 8332
//	proto = http

// If you wish to make an SSL connection you can set an optional CA certificate or leave blank
// This will set the protocol to HTTPS and some CURL flags
$bitcoin->setSSL('/full/path/to/mycertificate.cert');

// Make calls to bitcoind as methods for your object. Responses are returned as an array.
// Examples:
$bitcoin->getinfo();
$bitcoin->getrawtransaction('0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098',1);
$bitcoin->getblock('000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f');

// The full response (not usually needed) is stored in $this->response
// while the raw JSON is stored in $this->raw_response

// When a call fails for any reason, it will return FALSE and put the error message in $this->error
// Example:
echo $bitcoin->error;

// The HTTP status code can be found in $this->status and will either be a valid HTTP status code
// or will be 0 if cURL was unable to connect.
// Example:
echo $bitcoin->status;

## Requisitos
PHP 7.0 >
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1587d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/adewebcombr-rpcjson/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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