PHP code example of dimsav / bitpay-php-client
1. Go to this page and download the library: Download dimsav/bitpay-php-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dimsav / bitpay-php-client example snippets
$autoloader = __DIR__ . '/relative/path/to/Bitpay/Autoloader.php';
if (true === file_exists($autoloader) &&
true === is_readable($autoloader))
{
bash
curl -sS https://getcomposer.org/installer | php
javascript
{
...
"pay/php-client": "~2.2"
}
...
}
bash
php composer.phar update bitpay/php-client
bash
php composer.phar