You can install the package via composer:
- Clone this repository to your root laravel project directory
- Run
composer config repositories.local '{"type": "path", "url": "./exchange-rate"}' --file composer.json
composer require mamun/currency-exchange
$currencyExchange = new \Mamun\CurrencyExchange\CurrencyExchange();
$result = $currencyExchange->convert(20, 'usd');
// $result: '21.552USD'
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email mamun167359@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.