Currency Rate Downloader
Installation
You can install the package via composer:
composer require flexmind-software/currency-rate
You can publish and run the migrations with:
php artisan vendor:publish --provider="FlexMindSoftware\CurrencyRate\CurrencyRateProvider" --tag="currency-rate-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --provider="FlexMindSoftware\CurrencyRate\CurrencyRateProvider" --tag="currency-rate-config"
This is the contents of the published config file:
return [
'driver' => env('FLEXMIND_CURRENCY_RATE_DRIVER', 'poland'),
'table-name' => env('FLEXMIND_CURRENCY_RATE_TABLENAME', 'currency_rates')
];
Usage
php artisan flexmind:currency-rate [options] [--] [<date>]
Arguments:
date Date to download currency rate, if empty is today
Options:
--queue[=QUEUE] Queue name, if set "none" cmd run without add job to queue [default: "none"]
--driver[=DRIVER] Driver to download rate [default: "all"]
Testing
composer test
Sources
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.