PHPackages                             rstrawbe/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. rstrawbe/rates

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

rstrawbe/rates
==============

description

1.0.0(1y ago)03proprietaryPHPPHP &gt;=8.2

Since Sep 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rstrawbe/rates)[ Packagist](https://packagist.org/packages/rstrawbe/rates)[ RSS](/packages/rstrawbe-rates/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Exchange Rates Client
=====================

[](#exchange-rates-client)

### Install

[](#install)

`$ composer require rstrawbe/rates`

### Examples

[](#examples)

```
$apiClient = ApiClientFactory::create([
    'app_key' => getenv('API_KEY'),
]);

try {
    $result = $apiClient->getRates();
    print_r($result);
} catch (\Exception $e) {
    print_r($e->getMessage());
}

// Request params
$params = (new RatesParams())
    ->setBase('USD')
    ->setSymbols(['EUR', 'GBP', 'AZN']);

try {
    $result = $apiClient->getRates($params);
    print_r($result);
} catch (\Exception $e) {
    print_r($e->getMessage());
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

603d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/81532121cb9b24d58850d9af3ad7591bce55b06b827ba24e13cfdcff78570700?d=identicon)[rstrawbe](/maintainers/rstrawbe)

---

Top Contributors

[![rstrawbe](https://avatars.githubusercontent.com/u/61662895?v=4)](https://github.com/rstrawbe "rstrawbe (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rstrawbe-rates/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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