PHPackages                             galek/exchange-rate - 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. galek/exchange-rate

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

galek/exchange-rate
===================

Exchange rate, base ČNB

v0.5.3(2y ago)112GPL-3.0PHPPHP &gt;= 7.4

Since Jan 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/TroiaStudio/exchangeRate)[ Packagist](https://packagist.org/packages/galek/exchange-rate)[ Docs](https://jan-galek.cz)[ RSS](/packages/galek-exchange-rate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (13)Used By (0)

exchangeRate
============

[](#exchangerate)

[![Travis](https://camo.githubusercontent.com/7ab8a9456d70213a93777d96e70e3ab2e33ce3bf3cbb57c13e7583c84d2c89df/68747470733a2f2f7472617669732d63692e6f72672f4a616e47616c656b2f65786368616e6765526174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/JanGalek/exchangeRate)[![Total Downloads](https://camo.githubusercontent.com/eba8ae9ffbeb8d7102f26149ca4c95bc6afe036c7fc9c336f7d21e8e53bfaeff/68747470733a2f2f706f7365722e707567782e6f72672f67616c656b2f65786368616e67652d726174652f646f776e6c6f616473)](https://packagist.org/packages/galek/exchange-rate)[![Latest Stable Version](https://camo.githubusercontent.com/7105704510a2194b1499ba59dcbdb1e6b18f346ea4d2991c9581b8f9ac6e9df5/68747470733a2f2f706f7365722e707567782e6f72672f67616c656b2f65786368616e67652d726174652f762f737461626c65)](https://packagist.org/packages/galek/exchange-rate)[![License](https://camo.githubusercontent.com/d8482de542e31ff9bedaca06609a4ca4731b06dc6b2e189dc3c9fc3d481b1bb1/68747470733a2f2f706f7365722e707567782e6f72672f67616c656b2f65786368616e67652d726174652f6c6963656e7365)](https://packagist.org/packages/galek/exchange-rate)[![Monthly Downloads](https://camo.githubusercontent.com/ccf1b246a08b12757b50c261f1b9ab10dd0e8a5f97549514181af490d40345b2/68747470733a2f2f706f7365722e707567782e6f72672f67616c656b2f65786368616e67652d726174652f642f6d6f6e74686c79)](https://packagist.org/packages/galek/exchange-rate)

Package Installation
--------------------

[](#package-installation)

The best way to install Exchange Rate is using [Composer](http://getcomposer.org/):

```
$ composer require galek/exchange-rate
```

[Packagist - Versions](https://packagist.org/packages/galek/exchange-rate)

or manual edit composer.json in your project

```
"require": {
    "galek/exchange-rate": "^0.2.8"
}
```

Usage
-----

[](#usage)

ČNB - Česká Národní Banka / CNB - Czech National Bank
-----------------------------------------------------

[](#čnb---česká-národní-banka--cnb---czech-national-bank)

You can use exchange rate of ČNB

Daily exchange rate ([\#avaible countries](https://github.com/JanGalek/exchangeRate/wiki/%C4%8CNB---Daily-countries))
---------------------------------------------------------------------------------------------------------------------

[](#daily-exchange-rate-avaible-countries)

```
$cnb = new \TroiaStudio\ExchangeRate\CNB\Day;
```

Monthly exchange rate ([\#Exotic country](https://github.com/JanGalek/exchangeRate/wiki/%C4%8CNB---Exotic-countries)))
----------------------------------------------------------------------------------------------------------------------

[](#monthly-exchange-rate-exotic-country)

```
$cnb = new \TroiaStudio\ExchangeRate\CNB\Day;
```

TODO
----

[](#todo)

- Universal calculatator for transfer between exchanges
- Add Raiffeisenbank
- Add Česká spořitelna
- Add ČSOB
- Add MoneyBank
- Add ... (write to issue if you want add some else)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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 ~288 days

Recently: every ~460 days

Total

9

Last Release

1089d ago

Major Versions

v0.3.1 → v1.x-dev2018-03-21

PHP version history (4 changes)v0.2.8PHP &gt;= 5.6.0

v0.3.0PHP &gt;= 7.0

v0.3.1PHP &gt;= 7.1

v0.5.0PHP &gt;= 7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/6171356cdb5543081a1fe848b40b005ee6acc6b07d532c90311d51490837d1ab?d=identicon)[GcoreCZ](/maintainers/GcoreCZ)

### Embed Badge

![Health badge](/badges/galek-exchange-rate/health.svg)

```
[![Health](https://phpackages.com/badges/galek-exchange-rate/health.svg)](https://phpackages.com/packages/galek-exchange-rate)
```

###  Alternatives

[symfony/filesystem

Provides basic utilities for the filesystem

4.6k669.1M3.2k](/packages/symfony-filesystem)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M574](/packages/nette-php-generator)[voku/portable-utf8

Portable UTF-8 library - performance optimized (unicode) string functions for php.

52322.4M40](/packages/voku-portable-utf8)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M81](/packages/symplify-monorepo-builder)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[contributte/di

Extra contrib to nette/di

465.8M18](/packages/contributte-di)

PHPackages © 2026

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