PHPackages                             grechanyuk/centralbankcurrency - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. grechanyuk/centralbankcurrency

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

grechanyuk/centralbankcurrency
==============================

:description

019PHP

Since May 24Pushed 6y agoCompare

[ Source](https://github.com/grechanyuk/centralbankcurrency)[ Packagist](https://packagist.org/packages/grechanyuk/centralbankcurrency)[ RSS](/packages/grechanyuk-centralbankcurrency/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

CentralBankCurrency
===================

[](#centralbankcurrency)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cf675829047d62b05efba532999db6fae1212239dc834605f81906e8eae91630/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6772656368616e79756b2f63656e7472616c62616e6b63757272656e63792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/grechanyuk/centralbankcurrency)[![Total Downloads](https://camo.githubusercontent.com/8394024151110ebfbcf2336ab4cd2970cd2c94ed94112fa241f567e84641a517/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6772656368616e79756b2f63656e7472616c62616e6b63757272656e63792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/grechanyuk/centralbankcurrency)[![Build Status](https://camo.githubusercontent.com/87fd3f9dfd59735db2ee00df2803b4848455865083da68b13ca165d409765320/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6772656368616e79756b2f63656e7472616c62616e6b63757272656e63792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/grechanyuk/centralbankcurrency)[![StyleCI](https://camo.githubusercontent.com/cb13a877afd1dbe223c631789c3f922d3ace958fdb334a9cce9b26afefbc2ebd/68747470733a2f2f7374796c6563692e696f2f7265706f732f31323334353637382f736869656c64)](https://styleci.io/repos/12345678)

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

Installation
------------

[](#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
-----

[](#usage)

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

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [author name](https://github.com/grechanyuk)
- [All Contributors](../../contributors)

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8898a2a09bae3815166dd1d6fe11cbf55d943d01e5b4fc02b67df106ad37d7e?d=identicon)[grechanyuk](/maintainers/grechanyuk)

---

Top Contributors

[![grechanyuk](https://avatars.githubusercontent.com/u/37790585?v=4)](https://github.com/grechanyuk "grechanyuk (9 commits)")

### Embed Badge

![Health badge](/badges/grechanyuk-centralbankcurrency/health.svg)

```
[![Health](https://phpackages.com/badges/grechanyuk-centralbankcurrency/health.svg)](https://phpackages.com/packages/grechanyuk-centralbankcurrency)
```

###  Alternatives

[daijie/aria2

talk with aria2

726.8k](/packages/daijie-aria2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
