Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages