PHPackages                             dimsav/bitpay-php-client - 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. dimsav/bitpay-php-client

AbandonedLibrary[API Development](/categories/api)

dimsav/bitpay-php-client
========================

PHP Library to work with the new cryptographically secure BitPay API

4.0(7y ago)0673MITPHPPHP &gt;=5.4

Since Sep 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/dimsav/php-bitpay-client)[ Packagist](https://packagist.org/packages/dimsav/bitpay-php-client)[ RSS](/packages/dimsav-bitpay-php-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (15)Versions (28)Used By (0)

bitpay/php-bitpay-client
========================

[](#bitpayphp-bitpay-client)

[![GitHub license](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://raw.githubusercontent.com/bitpay/php-bitpay-client/master/LICENSE.md)[![Travis](https://camo.githubusercontent.com/300c78c8c785c03247943762bcf60b335f376d7f38d3bb90b94ca1a5d12f8507/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6269747061792f7068702d6269747061792d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/bitpay/php-bitpay-client)[![Packagist](https://camo.githubusercontent.com/3117211b3fad6d607a877ec0fb87c7f15088d1c0833ee5838bc32c883f2b5001/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6269747061792f7068702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bitpay/php-client)[![Code Climate](https://camo.githubusercontent.com/580b8a1718bb5f45b1aaeedc3b525e4fc97de995e9d55d59b7d6a880c7af89b1/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f6269747061792f7068702d6269747061792d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/bitpay/php-bitpay-client)[![Scrutinizer](https://camo.githubusercontent.com/7d9451f07226d59237b5a9171b3c7bf777ef8d57d33fd17bf35bd784e00dbb42/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6269747061792f7068702d6269747061792d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/bitpay/php-bitpay-client/)[![Coveralls](https://camo.githubusercontent.com/4f17c457fa0d6bc2d9136d9551d8b35263fba84b21065341eb96b48c793f3e3a/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6269747061792f7068702d6269747061792d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/bitpay/php-bitpay-client)

[![Documentation Status](https://camo.githubusercontent.com/3333f50ca3ece7ec85e3807263b652e481cc2634ecd91c0fbc4ed2d77d1a78e7/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f7068702d6269747061792d636c69656e742f62616467652f3f76657273696f6e3d6c6174657374)](https://readthedocs.org/projects/php-bitpay-client/?badge=latest)[![Total Downloads](https://camo.githubusercontent.com/7a86e06ab47fe1089359ff1827f41f8ffa501946b94d4e5b2eb3c23255bab2ee/68747470733a2f2f706f7365722e707567782e6f72672f6269747061792f7068702d636c69656e742f646f776e6c6f6164732e737667)](https://packagist.org/packages/bitpay/php-client)[![Latest Unstable Version](https://camo.githubusercontent.com/d04ed531b4bae4fc53c5ec680bf9018502df4a537133473ff08817843cecf4d6/68747470733a2f2f706f7365722e707567782e6f72672f6269747061792f7068702d636c69656e742f762f756e737461626c652e737667)](https://packagist.org/packages/bitpay/php-client)

This is a self-contained PHP implementation of BitPay's new cryptographically secure API:

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

[](#installation)

Composer
--------

[](#composer)

### Install Composer

[](#install-composer)

```
curl -sS https://getcomposer.org/installer | php
```

### Install via composer by hand

[](#install-via-composer-by-hand)

Add to your composer.json file by hand.

```
{
    ...
    "require": {
        ...
        "bitpay/php-client": "~2.2"
    }
    ...
}
```

Once you have added this, just run:

```
php composer.phar update bitpay/php-client
```

### Install using composer

[](#install-using-composer)

```
php composer.phar require bitpay/php-client:~2.2
```

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

[](#configuration)

See

Usage
=====

[](#usage)

Autoloader
----------

[](#autoloader)

To use the library's autoloader (which doesn't include composer dependencies) instead of composer's autoloader, use the following code:

```
