LaravelPackages.net
Acme Inc.
Toggle sidebar
artarts36/laravel-ru-currency

Laravel Rus Currency

60
0
1.0.0
About artarts36/laravel-ru-currency

artarts36/laravel-ru-currency is a Laravel package for laravel rus currency. It currently has 0 GitHub stars and 60 downloads on Packagist (latest version 1.0.0). Install it with composer require artarts36/laravel-ru-currency. Discover more Laravel packages by artarts36 or browse all Laravel packages to compare alternatives.

Last updated

Laravel RuCurrency

PHP Composer License: MIT Total Downloads

This package provides currencies with courses For Laravel

Installation

  1. Run: composer require artarts36/laravel-ru-currency
  2. Add provider ArtARTs36\LaravelRuCurrency\Provider\CurrencyProvider::class into your providers in app.php
  3. Run: php artisan migrate
  4. Run: php artisan db:seed --class="\ArtARTs36\LaravelRuCurrency\Database\Seeders\RuCurrencySeeder"
  5. 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);

Commands for Application

| Command | Description | |---------------------------------------------|------------------------------| | ru-currency:fetch-courses | Fetch actual courses | | ru-currency:fetch-courses --date=2020-02-03 | Fetch actual courses at date |

Development Console

| Command | Description | |-----------------------|------------------------------------| | composer lint | Check code on PSR (PHP CS Sniffer) | | composer stat-analyse | Run stat-analyse (PHPStan) | | composer test | Run tests (PHPUnit) |

Star History Chart