What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-25 00:23:02
currency converter
$from = 'USD'; $to = 'INR'; $cacheKey = 'convertCurrency' . $from . 'To' . $to; $rate = Cache::remember($cacheKey, 60 * 12, function () use ($from, $to) { $converterUrl = 'https://free.currencyconverterapi.com/api/v6/convert?q=' . $from . '_' . $to . '... Add solution