infernosquad / bitcoind-bundle
A bundle which provides integration with bitcoind php library
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/infernosquad/bitcoind-bundle
Requires
- nbobtc/bitcoind-php: ~2.0
This package is not auto-updated.
Last update: 2025-10-12 01:29:17 UTC
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');