/exchange-rate

Primary LanguagePHPMIT LicenseMIT

Currency Exchange rate

Installation

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

Usage

$currencyExchange = new \Mamun\CurrencyExchange\CurrencyExchange();
$result = $currencyExchange->convert(20, 'usd');

// $result: '21.552USD'

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mamun167359@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.