infernosquad/bitcoind-bundle
Composer 安装命令:
composer require infernosquad/bitcoind-bundle
包简介
A bundle which provides integration with bitcoind php library
README 文档
README
Add InfernosquadBitcoindBundle to your project
composer require infernosquad/bitcoind-bundle
Enable the bundle
Enable the bundle in the kernel:
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Infernosquad\BitcoindBundle\InfernosquadBitcoindBundle(), ); }
Configuration
Configure your bitcoind clients
#app/config/config.yml infernosquad_bitcoind: drivers: driver1: class: 'Nbobtc\Http\Driver\CurlDriver' #default options: name: value name1: value1 clients: client1: dsn: 'https://username:password@localhost:18332' driver: driver1
Usage
Now you can get your clients and drivers from controllers.
See documentation of bitcoind bundle https://github.com/nbobtc/bitcoind-php
$client = $this->container->get('infernosquad.bitcoind.clients.client1');
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-08-01