PHPackages                             secgin/tcmb-exchange-rates - 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. secgin/tcmb-exchange-rates

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

secgin/tcmb-exchange-rates
==========================

PHP İçin Türkiye Cumhuriye Merkez Bankası Döviz Kur Değişimleri Kütüphanesi

v1.0(2y ago)043MITPHP

Since Apr 17Pushed 2y agoCompare

[ Source](https://github.com/secgin/tcmb-exchange-rates)[ Packagist](https://packagist.org/packages/secgin/tcmb-exchange-rates)[ RSS](/packages/secgin-tcmb-exchange-rates/feed)WikiDiscussions main Synced today

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

Türkiye Cumhuriyeti Merkez Bankası Döviz Kur API
================================================

[](#türkiye-cumhuriyeti-merkez-bankası-döviz-kur-api)

```
composer require secgin/tcmb-exchange-rates

```

### Api

[](#api)

```
$apiUrl = 'https://evds2.tcmb.gov.tr/service/evds/';
$apiKey = '...';

$tcmb = new Tcmb();
$tcmb->setApiInfo($apiUrl, $apiKey);

$result = $tcmb->getCurrencyRates(['USD', 'EUR', 'GBP']);

// Seçilen Tüm Kurlar
$rates = $result->getRates();

// Seçilen kurlardan sadece bir tanesini almak için
$rate = $result->getRate('USD');
```

### XML

[](#xml)

```
$tcmb = new Tcmb();

$result = $tcmb->getCurrencyRatesByXML(['USD', 'EUR', 'GBP']);

// Seçilen Tüm Kurlar
$rates = $result->getRates();

// Seçilen kurlardan sadece bir tanesini almak için
$rate = $result->getRate('USD');
```

> ***NOT:*** Geriye CurencyRate sınıfı dönüyor. Bu sınıf içerisinde alış, satış ve zaman değerileri bulunmaktadır.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

807d ago

### Community

Maintainers

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

---

Top Contributors

[![secgin](https://avatars.githubusercontent.com/u/4368834?v=4)](https://github.com/secgin "secgin (8 commits)")

---

Tags

php

### Embed Badge

![Health badge](/badges/secgin-tcmb-exchange-rates/health.svg)

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

###  Alternatives

[heloufir/filament-workflow-manager

Manage your own workflows with filament

711.3k](/packages/heloufir-filament-workflow-manager)

PHPackages © 2026

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