PHPackages                             mastercoin/mastercore-php - 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. mastercoin/mastercore-php

ActiveLibrary[API Development](/categories/api)

mastercoin/mastercore-php
=========================

RPC wrapper for the JSON-RPC API interface of Master Core

v1.0.1(11y ago)037MITPHP

Since Aug 9Pushed 11y ago1 watchersCompare

[ Source](https://github.com/dexX7/mastercore-php)[ Packagist](https://packagist.org/packages/mastercoin/mastercore-php)[ RSS](/packages/mastercoin-mastercore-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (7)Used By (0)

mastercoin/mastercore-php
=========================

[](#mastercoinmastercore-php)

This project is a PHP wrapper for [Master Core](https://github.com/mastercoin-MSC/mastercore).

Usage
-----

[](#usage)

To use the RPC wrapper you basically need to do the following:

```
use Mastercoin\MasterCore\MasterCoreRpc;

...

$mastercore = new MasterCoreRpc('http://rpcuser:rpcpass@rpchost:rpcport');
$mastercore->...
```

Please take a look at the [example](examples/simple.php) and the interface [documentation](src/MasterCore/MasterCoreInterface.php).

Additional information are available in the official [Master Core API documentation](https://github.com/mastercoin-MSC/mastercore/blob/62f036c524/doc/apidocumentation.md).

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

[](#installation)

The recommended way to install this library is by using [composer](http://getcomposer.org/) and [packagist](https://packagist.org/packages/mastercoin/mastercore-php).

If not already done, install [composer](https://getcomposer.org/doc/00-intro.md):

```
curl -sS https://getcomposer.org/installer | php
```

To use this project as a **library**, create or edit the file `composer.json` and add:

```
{
    "require": {
        "mastercoin/mastercore-php": "~1.0"
    }
}
```

And [execute](https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies) within your project dir:

```
php composer.phar install
```

To create mastercore-php as a new **project**, execute the following command:

```
php composer.phar create-project mastercoin/mastercore-php
```

Based on your system `composer` and `php composer.phar` might be used synonymously.

Dependencies
------------

[](#dependencies)

For the Bitcoin Core base and RPC connection [nbobtc/bitcoind-php](https://github.com/nbobtc/bitcoind-php) ([packagist](https://packagist.org/packages/nbobtc/bitcoind-php)) is used.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Total

6

Last Release

4303d ago

Major Versions

v0.2.1 → v1.0.02014-09-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/80096?v=4)[Derek Hoy](/maintainers/dexx)[@dexx](https://github.com/dexx)

---

Top Contributors

[![dexX7](https://avatars.githubusercontent.com/u/5836089?v=4)](https://github.com/dexX7 "dexX7 (8 commits)")

---

Tags

rpcbitcoinmastercoinmastercore

### Embed Badge

![Health badge](/badges/mastercoin-mastercore-php/health.svg)

```
[![Health](https://phpackages.com/badges/mastercoin-mastercore-php/health.svg)](https://phpackages.com/packages/mastercoin-mastercore-php)
```

###  Alternatives

[apache/thrift

Apache Thrift RPC system

10.9k2.1M46](/packages/apache-thrift)[grpc/grpc

gRPC library for PHP

530131.4M228](/packages/grpc-grpc)[lstrojny/fxmlrpc

Fast and tiny XML/RPC client with bridges for various HTTP clients

1465.6M32](/packages/lstrojny-fxmlrpc)[sajya/server

Easy implementation of the JSON-RPC 2.0 server for the Laravel framework.

2422.0M6](/packages/sajya-server)[coinbase/coinbase-commerce

Coinbase Commerce API library

150280.2k2](/packages/coinbase-coinbase-commerce)[jsonrpc/jsonrpc

JSON-RPC 2.0 client/server implementation

52417.4k4](/packages/jsonrpc-jsonrpc)

PHPackages © 2026

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