fischimglas/currency-converter

Online currency converter

0.0.2 2024-02-13 13:18 UTC

This package is auto-updated.

Last update: 2025-03-24 13:52:09 UTC


README

Currency converter to Convert amount from base currency to Desired currency . The fixer-api will provide the exchange rate. Exchange Rate will be cached.

Get your API key from fixer-api

Usage

require 'CurrencyConverter.php';

$apiKey ="KDGHDHXXXXX";

$converter = new \Arya\CurrencyConverter($apiKey);
echo $converter->convert("CHF","NPR", 300);