Laravel Exchange Rate is a simple Laravel package used for interacting with the http://exchangeratesapi.io/ API. 'Laravel Exchange Rates' allows you to get the latest or historical exchange rates and convert monetary values between different currencies.

Available Currencies $exchangeRates = new ExchangeRate(); $exchangeRates->currencies(); Exchange Rate

$exchangeRates = new ExchangeRate(); $result = $exchangeRates->exchangeRate('GBP', ['EUR', 'USD']); // $result: [ // 'EUR' => '1.10086', // ]; Exchange Rates Between Date Range

The example below shows how to get the exchange rates from 'GBP' to 'EUR' and 'USD' for the past 3 days.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Community Partners