1. Go to this page and download the library: Download olakunlevpn/bitcoin_ng 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/ */
olakunlevpn / bitcoin_ng example snippets
php
use olakunlevpn\BitcoinNairaConverter\Converter;
$convert = new Converter; // uses Coinbase as default provider
echo $convert->toCurrency('NGN', 0.5); // 2,250,50.00
echo $convert->toCurrency('LTC', 0.5); // 10.12345678