artarts36 / laravel-ru-currency
Laravel Rus Currency
1.0.0
2022-11-28 10:07 UTC
Requires
- php: ^8.1
- artarts36/cbr-course-finder: ^2.0.0
- illuminate/config: ^9
- illuminate/console: ^9
- illuminate/database: ^9
- illuminate/support: ^9
Requires (Dev)
- artarts36/php-cs-fixer-good-fixers: ^0.1.2
- guzzlehttp/guzzle: ^7.5
- nunomaduro/larastan: ^2.2
- orchestra/testbench: ^7.14
README
This package provides currencies with courses For Laravel
Installation
- Run:
composer require artarts36/laravel-ru-currency
- Add provider
ArtARTs36\LaravelRuCurrency\Provider\CurrencyProvider::class
into your providers in app.php - Run:
php artisan migrate
- Run:
php artisan db:seed --class="\ArtARTs36\LaravelRuCurrency\Database\Seeders\RuCurrencySeeder"
- Run:
php artisan ru-currency:fetch-courses
If you see the error Target [Psr\Http\Client\ClientInterface] is not instantiable while building [ArtARTs36\LaravelRuCurrency\Operation\Course\Fetcher\CourseFetcher, ArtARTs36\CbrCourseFinder\Finder]
, then add the following line to your provider:
$this->app->bind(ClientInterface::class, \GuzzleHttp\Client::class);