PHPackages                             filipsedivy/cnb-api - 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. [API Development](/categories/api)
4. /
5. filipsedivy/cnb-api

ActiveLibrary[API Development](/categories/api)

filipsedivy/cnb-api
===================

💸 Powerful PHP library for CNB exchange rates

v3.0.1(3y ago)741.3k↑24.6%1[1 issues](https://github.com/filipsedivy/CnbApi/issues)MITPHPPHP &gt;= 7.1

Since Dec 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/filipsedivy/CnbApi)[ Packagist](https://packagist.org/packages/filipsedivy/cnb-api)[ Docs](https://github.com/filipsedivy/cnb-api)[ Fund](https://filipsedivy.cz/donation?to=cnb-api)[ Patreon](https://www.patreon.com/filipsedivy)[ RSS](/packages/filipsedivy-cnb-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (8)Used By (0)

Client for CNB exchange rates
=============================

[](#client-for-cnb-exchange-rates)

Powerful &amp; effective ⚡️ PHP library for CNB exchange rates

Contact 🚀 [filipsedivy.cz](https://filipsedivy.cz) | Twitter 🐦 [@filipsedivy](https://twitter.com/filipsedivy)

 [![](https://camo.githubusercontent.com/6eb382bd9657eee0a73425997af1d8164325c657ac949f19a81a2b594ee81dc3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f66696c69707365646976792f636e622d6170692e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/filipsedivy/cnb-api) [![](https://camo.githubusercontent.com/6e2e24ee5c5ef8bb12644bc5f355c259d90c10d69305882999ff382b67eeee44/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f66696c69707365646976792f636e622d6170692e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/filipsedivy/cnb-api) [![](https://camo.githubusercontent.com/20c9f9edf51c970b3da19e74b490f348f2b7accd29da3bf5a69eb9d155aa759b/68747470733a2f2f706f7365722e707567782e6f72672f66696c69707365646976792f636e622d6170692f642f6d6f6e74686c793f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/filipsedivy/cnb-api) [![](https://camo.githubusercontent.com/78b01327278994daf314b402af93946f5bcf2672144c26289dfdd05cf3c02303/68747470733a2f2f706f7365722e707567782e6f72672f66696c69707365646976792f636e622d6170692f642f746f74616c3f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/filipsedivy/cnb-api) [![](https://camo.githubusercontent.com/bb0be0922abd8db7db998f1e3c7523587384e108404d0710b51ef1c38ffd580d/68747470733a2f2f706f7365722e707567782e6f72672f66696c69707365646976792f636e622d6170692f762f737461626c653f666f726d61743d666c61742d737175617265)](https://github.com/filipsedivy/cnb-api/releases)

**💾 There are official cache extensions**

 [Nette/Caching](https://github.com/filipsedivy/cnb-api-nette-caching)

---

Usage
-----

[](#usage)

To install latest version of `filipsedivy/cnb-api` use [Composer](https://getcomposer.com).

```
composer require filipsedivy/cnb-api
```

Documentation
-------------

[](#documentation)

For detailed instructions on how to use the library, visit the [documentation](.docs/README.md).

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

[](#contributing)

This library is an Open Source, community-driven project. You can help develop code or create documentation.

---

If the library is useful, **[please make a donation now](https://filipsedivy.cz/donation?to=cnb-api)**. Thank you!

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 99.2% 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 ~326 days

Recently: every ~366 days

Total

7

Last Release

1112d ago

Major Versions

v1.0 → v2.02019-04-27

v2.2 → v3.0.02020-01-26

v3.0.0 → v4.0.x-dev2023-02-13

PHP version history (3 changes)v1.0PHP &gt;= 5.6.0

v2.0PHP &gt;= 7.1

v4.0.x-devPHP &gt;= 8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5647591?v=4)[Filip Šedivý](/maintainers/filipsedivy)[@filipsedivy](https://github.com/filipsedivy)

---

Top Contributors

[![filipsedivy](https://avatars.githubusercontent.com/u/5647591?v=4)](https://github.com/filipsedivy "filipsedivy (117 commits)")[![pionl](https://avatars.githubusercontent.com/u/1878831?v=4)](https://github.com/pionl "pionl (1 commits)")

---

Tags

apicnbexchange-rate

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/filipsedivy-cnb-api/health.svg)

```
[![Health](https://phpackages.com/badges/filipsedivy-cnb-api/health.svg)](https://phpackages.com/packages/filipsedivy-cnb-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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