lenh/laravel-multichain-api
Composer 安装命令:
composer require lenh/laravel-multichain-api
包简介
Laravel 5 wrapper for the Mulitchain php library by Kunstmaan (http://www.kunstmaan.be/)
README 文档
README
Laravel 5.x API wrapper package for the Multichain blockchain. Please read the Credits.
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
$mchain = MultiChain::getInfo();
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
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
Refer to the following documentation:
-
Multichain JSON-RPC API commands (http://www.multichain.com/developers/json-rpc-api/)
-
Kunstmaan PHP library (https://github.com/Kunstmaan/libphp-multichain)
-
The
MultichainClient.phpfile located in thevendor/kunstmaan/libphp-multichain/src/be/kunstmaan/multichaindirectory.
Credits
I take no credit for this work - the real credits go to the folks Kunstmaan Labs who wrote the original php library (https://github.com/Kunstmaan/libphp-multichain).
License
The MIT License (MIT). Please see License File for more information.
lenh/laravel-multichain-api 适用场景与选型建议
lenh/laravel-multichain-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 182 次下载、GitHub Stars 达 4, 最近一次更新时间为 2016 年 12 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「laravel」 「blockchain」 「multichain」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 lenh/laravel-multichain-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 lenh/laravel-multichain-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 lenh/laravel-multichain-api 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The BlockTrail PHP SDK, for integration of Bitcoin functionality through the BlockTrail API
Solana PHP SDK for interacting with the Solana blockchain
A PSR-7 compatible library for making CRUD API endpoints
A fast and dynamic Merkle tree implementation
Multichain JSON-RPC Client
Alfabank REST API integration
统计信息
- 总下载量: 182
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-10