Skip to content

int3hh/BitGoSDK-PHP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BitGoSDK PHP

BitGoSDK written in PHP. This SDK contains methods for easily interacting with the BitGo API.

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • PHP 7.0 or earlier with:
    • cURL
    • BCMath

Installation

To install the SDK, you will need to be using Composer in your project. If you aren't using Composer yet, it's really simple! Here's how to install composer and the BitGoSDK PHP.

# Install Composer
curl -sS https://getcomposer.org/installer | php

# Add the BitGoSDK as a dependency
php composer.phar require neto737/bitgosdk-php

Next, require Composer's autoloader, in your application, to automatically load the BitGoSDK in your project:

require 'vendor/autoload.php';

use neto737\BitGoSDK\BitGoSDK;

Or if put the following in your composer.json:

"neto737/bitgosdk-php": "*"

Example

require 'vendor/autoload.php';

use neto737\BitGoSDK\BitGoSDK;
use neto737\BitGoSDK\Enum\CurrencyCode;

$bitgo = new BitGoSDK('YOUR_API_KEY_HERE', CurrencyCode::BITCOIN, false);
$bitgo->walletId = 'YOUR_WALLET_ID_HERE';

$createAddress = $bitgo->createWalletAddress();

Attention

Keep your cacert.pem always up to date. You can find updates on the site curl.haxx.se.

Credits

Donate

Donate BTC Donate ETH Donate with PayPal

About

BitGo SDK written in PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%