PHP code example of kalimeromk / nbrm

1. Go to this page and download the library: Download kalimeromk/nbrm 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/ */

    

kalimeromk / nbrm example snippets


use Kalimeromk\Nbrm\Facades\NBRMExchange;

$response = NBRMExchange::getExchangeRate('01.02.2024', '08.02.2024');
print_r($response);

$response = NBRMExchange::getExchangeRateD('01-Feb-2024', '08-Feb-2024');
print_r($response);

$response = NBRMExchange::getExchangeRates('01.02.2024', '08.02.2024');
print_r($response);

$response = NBRMExchange::getExchangeRatesD('01-Feb-2024', '08-Feb-2024');
print_r($response);
bash
php artisan vendor:publish --tag=config --provider="Kalimeromk\Nbrm\NBRMExchangeServiceProvider"