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

ActiveLibrary

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

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

v1.0.1(11y ago)137MITPHP

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 1mo ago

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

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

4257d ago

Major Versions

v0.2.1 → v1.0.02014-09-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/e0bc4d5200917d8f1ea9b2e19c3eead367173c98a7ab2d5c19ee823a7dfbc7a5?d=identicon)[dexx](/maintainers/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

[grpc/grpc

gRPC library for PHP

506116.6M180](/packages/grpc-grpc)[sajya/server

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

2391.9M4](/packages/sajya-server)[lstrojny/fxmlrpc

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

1425.4M30](/packages/lstrojny-fxmlrpc)[datto/json-rpc

Fully unit-tested JSON-RPC 2.0 for PHP

1951.3M14](/packages/datto-json-rpc)[twirp/twirp

PHP port of Twitch's Twirp RPC framework

1591.0M5](/packages/twirp-twirp)[coingate/coingate-php

CoinGate library for PHP

56459.2k1](/packages/coingate-coingate-php)

PHPackages © 2026

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