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')
];
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"]
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.