PHPackages                             rapidwebltd/simple-currency-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. [API Development](/categories/api)
4. /
5. rapidwebltd/simple-currency-rates

ActiveLibrary[API Development](/categories/api)

rapidwebltd/simple-currency-rates
=================================

This package provides simple access to current currency exchange rates.

v1.1.2(8y ago)130[2 issues](https://github.com/rapidwebltd/simple-currency-rates/issues)LGPL-3.0-onlyPHP

Since Jan 5Pushed 8y ago2 watchersCompare

[ Source](https://github.com/rapidwebltd/simple-currency-rates)[ Packagist](https://packagist.org/packages/rapidwebltd/simple-currency-rates)[ RSS](/packages/rapidwebltd-simple-currency-rates/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

Simple Currency Rates
=====================

[](#simple-currency-rates)

This package provides simple access to current currency exchange rates.

Installation
------------

[](#installation)

Simple Currency Rates can be easily installed using Composer. Just run the following command from the root of your project.

```
composer require rapidwebltd/simple-currency-rates

```

If you have never used the Composer dependency manager before, head to the [Composer website](https://getcomposer.org/) for more information on how to get started.

Usage
-----

[](#usage)

To get the current exchange rates, just create a new `SimpleCurrencyRates` object and call its `get` method with the base currency of your choice (e.g. GBP, USD, EUR). The following code snippet shows how to do this.

```
$rates = (new SimpleCurrencyRates)->get('GBP');
```

Exchange rates are returned as an array in the format `['CURRENCYCODE' => RATE, ...]`. An example rates array is shown below.

```
Array
(
    [AUD] => 1.7307
    [BGN] => 2.201
    [BRL] => 4.423
    [CAD] => 1.7099
    [CHF] => 1.3274
    [CNY] => 8.8656
    [CZK] => 28.715
    [DKK] => 8.3831
    [EUR] => 1.1254
    [GBP] => 1
    [HKD] => 10.767
    [HRK] => 8.3542
    [HUF] => 347.46
    [IDR] => 18357
    [ILS] => 4.7002
    [INR] => 88.15
    [JPY] => 152.37
    [KRW] => 1465.7
    [MXN] => 25.837
    [MYR] => 5.457
    [NOK] => 10.838
    [NZD] => 1.8915
    [PHP] => 69.704
    [PLN] => 4.6942
    [RON] => 5.231
    [RUB] => 77.678
    [SEK] => 11.054
    [SGD] => 1.8214
    [THB] => 44.015
    [TRY] => 5.2259
    [USD] => 1.3763
    [XBT] => 0.00013526
    [ZAR] => 16.877
)
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

4

Last Release

3031d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

---

Top Contributors

[![Jord-JD](https://avatars.githubusercontent.com/u/650645?v=4)](https://github.com/Jord-JD "Jord-JD (1 commits)")

---

Tags

currencycurrency-exchange-ratescurrency-rateslibraryphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rapidwebltd-simple-currency-rates/health.svg)

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

###  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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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