Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

CIS (СНГ) currencies rates

Security covered Under active development 6 sites

This module fetches and stores USD and EUR exchange rates against several currencies including Russian rubles, Kazakhstani tenge, Kyrgyzstani som, Azerbaijani manat, Belarusian ruble, and Ukrainian hryvnia. It provides a block for displaying these rates and allows integration into custom modules.

English description below.

Модуль предназначен для получения курсов USD и EUR по отношению к русскому рублю, казахстанскому тенге, киргизскому сому, азербайджанскому манату, белорусскому рублю и украинской гривне.

Возможности:

  • С помощью крона или с помощью drush-команды "drush rcr-getrates" получать курсы валют с сайта ЦБ выбранной страны и записывать их в БД (states)
  • Модуль имеет готовый блок для вывода курса валют
  • Можно в вашем кастомном модуле получить курсы валют из states и использовать их где и как угодно
  • Модуль не зависит от commerce, его можно использовать и на сайтах, которые не являются магазинами

Использование:

  1. После установки перейдите в настройки, выберите страны и обязательно запустите крон или драш-команду для первоначального получания курса валют
  2. Если вам нужно получить данные в кастомном модуле, то используйте $val = \Drupal::state()->get('rcr.eur_russia'); где eur - это евро, а usd - соответственно доллар. russia - соответственно нужная страна из доступных. Варианты: russia, kazakhstan, kyrgyzstan, azerbaijan, ukraine

Версии
2.х - можно выбрать несколько стран, курсы будут скачиваться для всех. У блока появился выбор страны, поэтому можно добавить несколько блоков сразу с валютами для разных стран.
1.х - можно было выбрать только одну страну, курс валют скачивался только для нее. Блок тоже был привязан к этой стране.
3.х - была создана по ошибке. В будущем, когда нужна будет смена API модуля, можно будет использовать её.

English description:

The module helps to get the exchange rate USD and EUR in relation to the Russian ruble, Kazakhstan tenge, Kyrgyzstan som, Azerbaijan manat, Belarus ruble, Ukrainian hryvnia.

Drupal 11 · not 10

Ask your assistant about CIS (СНГ) currencies rates

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • block Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
15
Tracked since
Feb 2023
Latest release
4 months ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.2.x-dev Dev 10–11 Jun 11, 2026
2.1.0 Stable 10–11 Mar 12, 2026
2.1.x-dev Dev 10–11 Mar 12, 2026
2.0.5 Stable 10–11 Nov 2, 2024
2.0.4 Stable 10–11 Oct 15, 2024
2.0.3 Stable 10–11 Oct 15, 2024
3.0.0 Stable 11 Aug 6, 2024
2.0.2 Stable 7–10 Aug 6, 2024
3.0.x-dev Dev 11 Aug 6, 2024
2.0.1 Stable 10–11 Apr 12, 2024