bijondev / ratesapi
this will convert your cutrrency to any cutrrency
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/bijondev/ratesapi
Requires
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2025-11-25 10:44:21 UTC
README
Install
composer require bijondev/ratesapi
To gate Current rate
$getrate=new Ratesapi();
$pram=array(
'currency'=>array('USD', 'GBP', 'INR'),
'base'=>'INR'
);
$result= $getrate->getLatestRate($pram);
echo "<pre>";
print_r($result);
Gate rate By Date
$getrate=new Ratesapi();
$pram=array(
'currency'=>array('USD', 'GBP', 'INR'),
'base'=>'INR'
);
$result= $getrate->getRateByDate('2019-07-25', $pram);
echo "<pre>";
print_r($result);
This is using api https://ratesapi.io/documentation/