PHP code example of evokelektrique / bonbast
1. Go to this page and download the library: Download evokelektrique/bonbast 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/ */
evokelektrique / bonbast example snippets
use Bonbast\Bonbast;
$bonbast = new Bonbast();
$result = $bonbast->get_formatted_price("usd"); // usd, eur ...
var_dump($result);
// array(2) {
// ["sell"]=>
// string(5) "32730"
// ["buy"]=>
// string(5) "32630"
// }