LaravelPackages.net
Acme Inc.
Toggle sidebar
grechanyuk/centralbankcurrency

:description

19
0
About grechanyuk/centralbankcurrency

grechanyuk/centralbankcurrency is a Laravel package for :description. It currently has 0 GitHub stars and 19 downloads on Packagist. Install it with composer require grechanyuk/centralbankcurrency. Discover more Laravel packages by grechanyuk or browse all Laravel packages to compare alternatives.

Last updated

CentralBankCurrency

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

$ composer require grechanyuk/centralbankcurrency

Выполните для публикации конфигов

$ php artisan vendor:publish --provider="Grechanyuk\CentralBankCurrency\CentralBankCurrencyServiceProvider" --tag="centralbankcurrency.config"

Выполните

$ php artisan migrate

Выполните для синхронизации списка валют

$ php artisan central-bank:sync-currencies

Usage

$ CentralBankCurrency::convert($isoCode, $amount) //$isoCode - ISO код в который необходимо перевести сумму $amount
$ CentralBankCurrency::currencyByDay($date) //$data - дата в формате Carbon. Получение котировок за определенный день
$ CentralBankCurrency::getCurrenciesList() //Список валют

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.

Star History Chart