PHPackages                             minhyung/trif-fxrt - 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. minhyung/trif-fxrt

ActiveLibrary[API Development](/categories/api)

minhyung/trif-fxrt
==================

PHP library for Exchange rates API of Korea Customs Service

0.2.0(8mo ago)0654↓50%MITPHPPHP ^8.1CI passing

Since Sep 18Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/overworks/php-trif-fxrt)[ Packagist](https://packagist.org/packages/minhyung/trif-fxrt)[ RSS](/packages/minhyung-trif-fxrt/feed)WikiDiscussions 0.x Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

minhyung/trif-fxrt
==================

[](#minhyungtrif-fxrt)

[![Packagist Version](https://camo.githubusercontent.com/8c102b0a37ec0dbeb250fdc4c09543c0754173c117e3ed090554ba58d26365eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696e6879756e672f747269662d667872742e737667)](https://packagist.org/packages/minhyung/trif-fxrt)[![Packagist Downloads](https://camo.githubusercontent.com/6f146a2366437a5ec1bd0c22236fa3bc1b8c5cadc23bc86f6b8b46dda8f30118/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d696e6879756e672f747269662d667872742e737667)](https://packagist.org/packages/minhyung/trif-fxrt)[![PHP Version](https://camo.githubusercontent.com/c7e329450332358610e4c9342b1cd38ed68f79a8782a0ccc7035f069162b4bd6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d696e6879756e672f747269662d667872742e737667)](https://packagist.org/packages/minhyung/trif-fxrt)[![License](https://camo.githubusercontent.com/02793269c62dbfcdd6d560a870eb869e053e796b7d9d1c133b175b9ec57502b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d696e6879756e672f747269662d667872742e737667)](https://packagist.org/packages/minhyung/trif-fxrt)

소개
--

[](#소개)

`minhyung/trif-fxrt`는 대한민국 관세청의 관세환율정보 Open API(`retrieveTrifFxrtInfo`)를 PHP에서 간편하게 사용할 수 있도록 도와주는 라이브러리입니다。

- **지원 API**:
- **PHP 버전**: 8.1 이상
- **라이선스**: MIT

설치
--

[](#설치)

```
composer require minhyung/trif-fxrt
```

사용법
---

[](#사용법)

```
use Minhyung\TrifFxrt\TrifFxrt;

$serviceKey = '발급받은 서비스키';
$client = new TrifFxrt($serviceKey);

// 환율정보 조회
$result = $client->getRetrieveTrifFxrtInfo('20240118', 1); // 1: 수출, 2: 수입

if ($result->isSuccessful()) {
	foreach ($result as $item) {
		// $item['aplyBgnDt'], $item['cntySgn'], $item['currSgn'], $item['fxrt'], ...
	}
} else {
	echo $result->resultMsg;
}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance64

Regular maintenance activity

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Every ~20 days

Total

3

Last Release

201d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/381cd0165a6aa9f238950dc1ae39f15a2b01a3dc33c111cd0fc1b12ab4259100?d=identicon)[lostland](/maintainers/lostland)

---

Top Contributors

[![overworks](https://avatars.githubusercontent.com/u/2780002?v=4)](https://github.com/overworks "overworks (11 commits)")

---

Tags

exchange ratesfxrt

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/minhyung-trif-fxrt/health.svg)

```
[![Health](https://phpackages.com/badges/minhyung-trif-fxrt/health.svg)](https://phpackages.com/packages/minhyung-trif-fxrt)
```

###  Alternatives

[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/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[botman/driver-telegram

Telegram driver for BotMan

92437.3k6](/packages/botman-driver-telegram)

PHPackages © 2026

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