PHPackages                             sandrokeil/blockchain-wallet-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. sandrokeil/blockchain-wallet-api

ActiveLibrary[API Development](/categories/api)

sandrokeil/blockchain-wallet-api
================================

Zend Framework 2 (ZF2) client library for blockchain wallet api. Configure request, call the service and access the response data via objects.

1.0.0(11y ago)9483[1 PRs](https://github.com/sandrokeil/BlockchainWalletApi/pulls)BSD-3-ClausePHPPHP ~5.3

Since Jul 1Pushed 10y ago2 watchersCompare

[ Source](https://github.com/sandrokeil/BlockchainWalletApi)[ Packagist](https://packagist.org/packages/sandrokeil/blockchain-wallet-api)[ Docs](https://github.com/sandrokeil/BlockchainWalletApi)[ RSS](/packages/sandrokeil-blockchain-wallet-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (13)Versions (3)Used By (0)

Blockchain Wallet Api module for Zend Framework 2
=================================================

[](#blockchain-wallet-api-module-for-zend-framework-2)

> You want an easy client for the blockchain wallet api?

> You want to configure request, call the service and access the response data via objects?

> You want to display bitcoin in mBTC or uBTC?

> This module comes to the rescue!

[![Build Status](https://camo.githubusercontent.com/a4f623dc54921733c977704fc60f0fba6b1cc3a35ccf88827f7b73cecfdcbd57/68747470733a2f2f7472617669732d63692e6f72672f73616e64726f6b65696c2f426c6f636b636861696e57616c6c65744170692e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/sandrokeil/BlockchainWalletApi)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f21e5abd8c0b9e409ffba2dc94405883becbb0985e4dd4137fbf29f103889442/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616e64726f6b65696c2f426c6f636b636861696e57616c6c65744170692f6261646765732f7175616c6974792d73636f72652e706e673f733d65303038396236336264643939383031343830613563376165646264613337323736373939306162)](https://scrutinizer-ci.com/g/sandrokeil/BlockchainWalletApi/)[![Coverage Status](https://camo.githubusercontent.com/093e7ad651458c0f359470a2eb8b9a67ed2b485f166701f9e98550e3176fbcee/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f73616e64726f6b65696c2f426c6f636b636861696e57616c6c65744170692f62616467652e706e67)](https://coveralls.io/r/sandrokeil/BlockchainWalletApi)[![HHVM Status](https://camo.githubusercontent.com/3d53791ab5b6202e84e16d7c26d0c3969957f06858df05f36774768bb1b17c1d/687474703a2f2f6868766d2e683463632e64652f62616467652f73616e64726f6b65696c2f626c6f636b636861696e2d77616c6c65742d6170692e737667)](http://hhvm.h4cc.de/package/sandrokeil/blockchain-wallet-api)[![SensioLabsInsight](https://camo.githubusercontent.com/43b057be51f582726167552c65d4ae4b93449107ffc62490bfa0c27e404b727d/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f65623065613232302d643335382d343331652d383836322d3165383563383461643036612f6d696e692e706e67)](https://insight.sensiolabs.com/projects/eb0ea220-d358-431e-8862-1e85c84ad06a)[![Latest Stable Version](https://camo.githubusercontent.com/75e9f8d6cb52a91b5780ef0a9d8451fb5b36c08afeef8be39ff1e8fa3413028a/68747470733a2f2f706f7365722e707567782e6f72672f73616e64726f6b65696c2f626c6f636b636861696e2d77616c6c65742d6170692f762f737461626c652e706e67)](https://packagist.org/packages/sandrokeil/blockchain-wallet-api)[![Dependency Status](https://camo.githubusercontent.com/6f4fb0d59eef23c9e2fe17c27764b00162b5cd3f70fb52cbc3cd818acd77fe43/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533363135633963666530643037623435633030303038322f62616467652e737667)](https://www.versioneye.com/user/projects/53615c9cfe0d07b45c000082)[![Total Downloads](https://camo.githubusercontent.com/6e4f10d457094f82ef09c88d30bf77e8269b202087db9ecf8a8050ccd509f6a3/68747470733a2f2f706f7365722e707567782e6f72672f73616e64726f6b65696c2f626c6f636b636861696e2d77616c6c65742d6170692f646f776e6c6f6164732e706e67)](https://packagist.org/packages/sandrokeil/blockchain-wallet-api)[![License](https://camo.githubusercontent.com/477724226a0a4111cf6707fed11b53867faa9cf7d96110a4a3b738560e42ffde/68747470733a2f2f706f7365722e707567782e6f72672f73616e64726f6b65696c2f626c6f636b636861696e2d77616c6c65742d6170692f6c6963656e73652e706e67)](https://packagist.org/packages/sandrokeil/blockchain-wallet-api)

Zend Framework 2 client library for [blockchain wallet api](https://blockchain.info/en/api/blockchain_wallet_api). The usage is simple. Configure request, call the service and access the response data via objects.

- **Adapts To Your Needs.** There are several possibilities to configure this module.
- **Well tested.** Besides unit test and continuous integration/inspection this solution is also ready for production use.
- **Great foundations.** Based on [Zend Framework 2](https://github.com/zendframework/zf2) and [Easy Config](https://github.com/sandrokeil/EasyConfig)
- **Every change is tracked**. Want to know whats new? Take a look at [CHANGELOG.md](CHANGELOG.md)
- **Listen to your ideas.** Have a great idea? Bring your tested pull request or open a new issue. See [CONTRIBUTING.md](CONTRIBUTING.md)

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

[](#installation)

Installation of this module uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

Put the following into your composer.json

```
{
    "require": {
        "sandrokeil/blockchain-wallet-api": "~1.0"
    }
}

```

Then add `Sake\BlockchainWalletApi` to your `./config/application.config.php`.

Copy `config/blockchainwalletapi.local.php.dist` to `config/blockchainwalletapi.local.php` and configure the credentials. **Never commit this file to public repositories!**

Documentation
-------------

[](#documentation)

Please refer to [blockchain wallet api documentation](https://blockchain.info/en/api/blockchain_wallet_api) for request details.

**These request classes matches to api methods**

- Send =&gt; payment
- SendMany =&gt; sendmany
- WalletBalance =&gt; balance
- ListAddresses =&gt; list
- AddressBalance =&gt; address\_balance
- NewAddress =&gt; new\_address
- AddressArchive =&gt; archive\_address
- AddressUnarchive =&gt; unarchive\_address
- AutoConsolidateAddresses =&gt; auto\_consolidate

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

[](#configuration)

Connection parameters can be defined in the application configuration:

```
