PHPackages                             thalidzhokov/exchange-rates-cbrf - 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. thalidzhokov/exchange-rates-cbrf

ActiveLibrary

thalidzhokov/exchange-rates-cbrf
================================

ExchangeRatesCBRF Class to get exchange rates of the Central Bank of Russia

2.1.2(7y ago)102.7k5GPL-3.0-or-laterPHPPHP ^5.0 || ^7.0

Since Oct 25Pushed 7y ago2 watchersCompare

[ Source](https://github.com/thalidzhokov/exchange-rates-cbrf)[ Packagist](https://packagist.org/packages/thalidzhokov/exchange-rates-cbrf)[ RSS](/packages/thalidzhokov-exchange-rates-cbrf/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

PHP Class ExchangeRatesCBRF
===========================

[](#php-class-exchangeratescbrf)

Requirements
------------

[](#requirements)

1. PHP 5 or greater
2. SOAP and SimpleXML

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

[](#installation)

Install via Composer

```
composer require thalidzhokov/exchange-rates-cbrf
```

OR include *ExchangeRatesCBRF.php* in your PHP code

```
require_once("ExchangeRatesCBRF.php");
```

Usage
-----

[](#usage)

Examples of using ExchangeRatesCBRF Class to get exchange rates of the Central Bank of Russia

**Example 1**
Get exchange rate of Ukrainian Hryvnia (Alphabetic currency code - UAH) on 25.05.2015

```
$rates = new ExchangeRatesCBRF("2015-05-25");
echo $rates->GetRate("UAH");
```

**Example 2**
Get cross-rate of the US Dollar to Euro on 26.06.2015

```
$rates = new ExchangeRatesCBRF("2015-06-26");
echo $rates->GetCrossRate("EUR", "USD");
```

**Example 3**
Get exchange rates of the Central Bank of Russia on 27.07.2015

```
$rates = new ExchangeRatesCBRF("2015-07-27");
echo $rates->GetRates();
```

###  Health Score

33

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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.

###  Release Activity

Cadence

Every ~214 days

Total

2

Last Release

2854d ago

### Community

Maintainers

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

---

Top Contributors

[![thalidzhokov](https://avatars.githubusercontent.com/u/5680364?v=4)](https://github.com/thalidzhokov "thalidzhokov (22 commits)")[![duzun](https://avatars.githubusercontent.com/u/321424?v=4)](https://github.com/duzun "duzun (2 commits)")

---

Tags

exchange ratescurrenciescbrcbrfCentral Bank of Russia

### Embed Badge

![Health badge](/badges/thalidzhokov-exchange-rates-cbrf/health.svg)

```
[![Health](https://phpackages.com/badges/thalidzhokov-exchange-rates-cbrf/health.svg)](https://phpackages.com/packages/thalidzhokov-exchange-rates-cbrf)
```

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

41.4k325.4k1](/packages/ccxt-ccxt)[rinvex/countries

Rinvex Countries is a simple and lightweight package for retrieving country details with flexibility. A whole bunch of data including name, demonym, capital, iso codes, dialling codes, geo data, currencies, flags, emoji, and other attributes for all 250 countries worldwide at your fingertips.

1.7k7.1M45](/packages/rinvex-countries)[pragmarx/countries

PHP Countries and Currencies

1.9k3.3M14](/packages/pragmarx-countries)[florianv/swap

Exchange rates library for PHP

1.3k6.3M13](/packages/florianv-swap)[payum/iso4217

ISO 4217 PHP Library

16211.9M5](/packages/payum-iso4217)[nnjeim/world

Laravel countries, states, cities, currencies, languages and IP geolocation

964329.7k3](/packages/nnjeim-world)

PHPackages © 2026

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