PHP code example of centralbank / exchangerates

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

    

centralbank / exchangerates example snippets

 config/app.php

php artisan vendor:publish --provider="Centralbank\Exchangerates\ExchangeRatesServiceProvider"
 config/exchangerates-api.php