dev-master
9999999-dev https://github.com/dleger/currency_converterA simple script for converting currencies
MIT
The Requires
- php >=5.3.0
- gilbitron/php-simplecache 1.*
by Denis Leger
converter currency currencies
Wallogit.com
2017 © Pedro Peláez
A simple script for converting currencies
This PHP class converts currencies. Not all currencies are supported, but major ones are., (*1)
using composer:, (*2)
composer require dleger/currency_converter:dev-master
convert('GBP', 'EUR', 100);
?>
You can also have a cache functionnality:, (*3)
replace:, (*4)
<?php $conversion = new currency_converter(FALSE, '', ''); ?>
by:, (*5)
<?php $conversion = new currency_converter(TRUE, 'your/cache/folder', 3600); // 3600 is the expiry time ?>
A simple script for converting currencies
MIT
converter currency currencies