PHPackages                             jenson0512/currencyexrates - 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. jenson0512/currencyexrates

ActiveProject

jenson0512/currencyexrates
==========================

Jenson Currency Exchange Rates Packages

2.0(1y ago)315MITPHPPHP &gt;=7.2.0

Since Dec 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rebing0512/CurrencyExRates)[ Packagist](https://packagist.org/packages/jenson0512/currencyexrates)[ RSS](/packages/jenson0512-currencyexrates/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (5)Used By (0)

CurrencyExRates
===============

[](#currencyexrates)

php货币汇率扩展包

### 安装

[](#安装)

```
composer require jenson0512/currencyexrates
```

使用
--

[](#使用)

- 1、获取货币列表 ```
    use Jenson\Currency\Helpers\Helper as CHelper;
    $currency = new CHelper();
        $pamars = [
            'page'        => 1,   #分页,默认1，非必填
            'page_saze'   => 20,  #每页数量默认20，非必填
        ];
    $data = $currency->getCurrencyList($pamars);

    ```
- 2、获取汇率 ```
    use Jenson\Currency\Helpers\Helper as CHelper;
    $currency = new CHelper();
        $pamars = [
            'amount' => 1,      #兑换金额,默认100，非必填
            'from'   => 'USD',  #from默认美元USD，非必填
            'to'     => 'CNY',  #to默认人民币CNY，非必填
        ];
    $data = $currency->getCurrencyRates($pamars);

    ```

数据库
---

[](#数据库)

- 1、执行Database目录中create\_table.txt中的sql创建数据表
- 2、然后再执行Database目录中的currency\_code.sql文件添加数据

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance40

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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

Total

4

Last Release

502d ago

Major Versions

1.0.x-dev → 2.02024-12-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/90188d269db63db804b89105880500732001a39e29842dc3b08d5ab7a488c379?d=identicon)[rebing0512](/maintainers/rebing0512)

---

Top Contributors

[![rebing0512](https://avatars.githubusercontent.com/u/35288540?v=4)](https://github.com/rebing0512 "rebing0512 (15 commits)")

### Embed Badge

![Health badge](/badges/jenson0512-currencyexrates/health.svg)

```
[![Health](https://phpackages.com/badges/jenson0512-currencyexrates/health.svg)](https://phpackages.com/packages/jenson0512-currencyexrates)
```

###  Alternatives

[fastd/fastd

The FastD High Performance API Framework

42015.2k17](/packages/fastd-fastd)

PHPackages © 2026

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