PHPackages                             lenh/laravel-multichain-api - 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. lenh/laravel-multichain-api

ActiveLibrary[API Development](/categories/api)

lenh/laravel-multichain-api
===========================

Laravel 5 wrapper for the Mulitchain php library by Kunstmaan (http://www.kunstmaan.be/)

v1.0.0(9y ago)4182MIT

Since Dec 10Compare

[ Source](https://github.com/lenh/laravel-multichain-api)[ Packagist](https://packagist.org/packages/lenh/laravel-multichain-api)[ RSS](/packages/lenh-laravel-multichain-api/feed)WikiDiscussions Synced today

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Laravel Multichain API
======================

[](#laravel-multichain-api)

![license](https://camo.githubusercontent.com/f3de4c147750d60c639794a41008d6d32132d6dbf75552d5f2b0519fb0e681ef/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c656e682f6c61726176656c2d6d756c7469636861696e2d6170692e737667)![Packagist](https://camo.githubusercontent.com/29e332aa6d1bd605d42ef73d2258e1222d5ca2d2324b4c1ceccfc863bf2d8bd8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656e682f6c61726176656c2d6d756c7469636861696e2d6170692e737667)[![Build Status](https://camo.githubusercontent.com/5a7f0f897f1b441dd1390ea4325725f91018586bb2cf59b7641951953695a38e/68747470733a2f2f7472617669732d63692e6f72672f6c656e682f6c61726176656c2d6d756c7469636861696e2d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lenh/laravel-multichain-api)

Laravel 5.x API wrapper package for the Multichain blockchain. Please read the Credits.

Features
--------

[](#features)

- Simple Multichain JsonRPC interface.
- Full Multichain API implementation.

Note: Support for Multichain Version 1.0 alpha 26 released on 28 November 2016 should be released early 2017.

Example usage
-------------

[](#example-usage)

```
$mchain = MultiChain::getInfo();

```

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

[](#installation)

Require the package

```
$ composer require lenh/laravel-multichain-api
```

Add service provider class to `providers` section of `app.php` located in `config` directory

```
'providers' => [
        .
        .
        .
		        Lenh\Multichain\MultiChainServiceProvider::class,
]

```

Add facade to `aliases` section of `app.php` located in `config` directory.

```
'aliases' => [
        .
        .
        .
		        'MultiChain' => Lenh\Multichain\Facade\MultiChain::class,
]

```

Publish configuration file

```
$ php artisan vendor:publish --tag=config
```

This will publish the `multichain.php` configuration file to `config` directory.

Configuration
-------------

[](#configuration)

Edit `multichain.php` loated in the `config` directory providing the required credentials as per the `multichain.conf` file on the node you wish to access.

Usage
-----

[](#usage)

Refer to the following documentation:

1. Multichain JSON-RPC API commands ()
2. Kunstmaan PHP library ()
3. The `MultichainClient.php` file located in the `vendor/kunstmaan/libphp-multichain/src/be/kunstmaan/multichain` directory.

Credits
-------

[](#credits)

I take no credit for this work - the real credits go to the folks Kunstmaan Labs who wrote the original php library ().

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

3489d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11794081?v=4)[Leonard Harley](/maintainers/LenH)[@lenh](https://github.com/lenh)

---

Tags

apilaravelblockchainmultichain

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lenh-laravel-multichain-api/health.svg)

```
[![Health](https://phpackages.com/badges/lenh-laravel-multichain-api/health.svg)](https://phpackages.com/packages/lenh-laravel-multichain-api)
```

###  Alternatives

[essa/api-tool-kit

set of tools to build an api with laravel

53386.5k](/packages/essa-api-tool-kit)[smodav/mpesa

M-Pesa API implementation

16167.1k1](/packages/smodav-mpesa)

PHPackages © 2026

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