PHPackages                             matrunchyk/bitcoindbundle - 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. [CLI &amp; Console](/categories/cli)
4. /
5. matrunchyk/bitcoindbundle

ActiveSymfony-bundle[CLI &amp; Console](/categories/cli)

matrunchyk/bitcoindbundle
=========================

Bundle that gives you a bitcoind service wrapper. Also comes with tasks that you can use on the command line.

039PHP

Since Dec 30Pushed 12y ago1 watchersCompare

[ Source](https://github.com/matrunchyk/BitcoindBundle)[ Packagist](https://packagist.org/packages/matrunchyk/bitcoindbundle)[ RSS](/packages/matrunchyk-bitcoindbundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

MatrunchykBitcoindBundle
========================

[](#matrunchykbitcoindbundle)

Used for symfony2 projects that want to use a bitcoind server.

Requirements
============

[](#requirements)

- [bitcoind](https://en.bitcoin.it/wiki/Bitcoind)
- [matrunchyk/bitcoind-php](https://github.com/matrunchyk/bitcoind-php) (Included in this packages `composer.json` file)

Installation
============

[](#installation)

Edit your `composer.json` file and add:

```
"require": {
    "matrunchyk/bitcoindbundle": "dev-master"
}

```

Next you will need to add it in your `app/AppKernel.php` file.

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Matrunchyk\Bundle\BitcoindBundle\BitcoindBundle(),
        // ...
    );

    return $bundles;
}

```

Next up is the configuration part. Edit `app/config/config.yml`.

```
bitcoind:
    schema:               http
    username:             ~
    password:             ~
    host:                 127.0.0.1
    port:                 8332

```

Make sure your server is up and running and it should all just work.

I've included some doctrine things that I have used that have been very helpful. You will need to update your database if you want to use the wallet manager.

```
php app/console doctrine:schema:update --force

```

Configuration
=============

[](#configuration)

Configuring this bundle is pretty straight forward and is outlined in the installation instructions. This section will show how I suggest you setup your configuration.

```
# app/config/parameters.dist.yml
# File is included in your repository
parameters:
    bitcoind_schema:   http
    bitcoind_username: ~
    bitcoind_password: ~
    bitcoind_host:     localhost
    bitcoind_port:     8332

```

This is the same setup as your `parameters.yml` file. However you should have this file ignored.

```
# app/config/config.yml
bitcoind:
    schema:   %bitcoind_schema%
    username: %bitcoind_username%
    password: %bitcoind_password%
    host:     %bitcoind_host%
    port:     %bitcoind_port%

```

That's it. Your `parameters.yml` file will have the information about your server.

Usage
=====

[](#usage)

You now have access to a bitcoind service.

```
// In a controller
$bitcoind = $this->get('bitcoind');

```

For more information on how to use the bitcoind wrapper see the [matrunchyk/bitcoind-php](https://github.com/matrunchyk/bitcoind-php)project.

Wallet Manager
==============

[](#wallet-manager)

This bundle comes with a wallet manager that you can use for created new addresses, payments, and managing many other things related to bitcoin.

```
$manager = $this->container->get('manager.bitcoin_wallet');

```

@TODO More documentation about using the wallet manager

License
=======

[](#license)

Copyright (C) 2013 Joshua Estes

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c430ad6ef9959bb139b60acb41c1f3e8571934c801c9647be5f243bed41b99a6?d=identicon)[matrunchyk](/maintainers/matrunchyk)

---

Top Contributors

[![JoshuaEstes](https://avatars.githubusercontent.com/u/447419?v=4)](https://github.com/JoshuaEstes "JoshuaEstes (21 commits)")

### Embed Badge

![Health badge](/badges/matrunchyk-bitcoindbundle/health.svg)

```
[![Health](https://phpackages.com/badges/matrunchyk-bitcoindbundle/health.svg)](https://phpackages.com/packages/matrunchyk-bitcoindbundle)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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