PHP code example of currencystack / currencystack-php
1. Go to this page and download the library: Download currencystack/currencystack-php 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/ */
currencystack / currencystack-php example snippets
urrencyStack\Client;
$CurrencyStackClient = new Client('API Key Here');
try {
var_dump($CurrencyStackClient->CurrencyConvertApi->GetCurrencyConvertion('EUR', ['USD', 'EGP', 'AED']));
} catch (Exception $e) {
echo $e->getMessage();
}
bash
composer