Skip to content

Performs currency conversion automatically based on api fixer.io

License

Notifications You must be signed in to change notification settings

rdehnhardt/exchange-rate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exchange Rate

Author Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

Performs currency conversion automatically based on api fixer.io

Instalation

composer require rdehnhardt/exchange-rate

How to use (automatically)

use Rdehnhardt\ExchangeRate\Exchange;

$exchange = new Exchange();
$exchange->rate(10, 'EUR', 'USD'); // 11,933 - at 2017-09-12

How to use (manually)

use Rdehnhardt\ExchangeRate\Exchange;

$exchange = new Exchange();
$exchange->rate(10, 'EUR', 'USD', 1.2987); // 12,987

About

Performs currency conversion automatically based on api fixer.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages