PHPackages                             alexanderc/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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. alexanderc/exchange-rates

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

alexanderc/exchange-rates
=========================

Library that parses exchange rates of different countries using different providers

v1.1.1(11y ago)116Apache v2PHPPHP &gt;=5.5.2

Since Feb 24Pushed 11y ago1 watchersCompare

[ Source](https://github.com/AlexanderC/ExchangeRates)[ Packagist](https://packagist.org/packages/alexanderc/exchange-rates)[ RSS](/packages/alexanderc-exchange-rates/feed)WikiDiscussions master Synced today

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

ExchangeRates Library
=====================

[](#exchangerates-library)

Library that parses exchange rates of different countries using different providers

\##Reuirements## See `composer.json`

\##Installation##

- Install [Composer](https://getcomposer.org)
- Add in your `composer.json` under require section: `"alexanderc/exchange-rates": "dev-master"`
- Run `composer.phar install` or `composer.phar update`

\##Available Providers##

- Moldova R. of
    - [CursMD](http://curs.md) (aka curs\_md)
    - [PointMD](http://point.md) (aka point\_md)

\##Basic Usage##

```
require 'vendor/autoload.php';

use ExchangeRates\Client;

$client = Client::create('curs_md');

foreach($client->parse(new \DateTime()) as $rate) {
    echo sprintf(
        "%s (%s), %s: %s=%.2f%s\n",
        $rate->getCountry(),
        $rate->getBank(),
        $rate->getHumanizedType(),
        $rate->getMainCurrency(),
        $rate->getExchangeRate(),
        $rate->getLocalCurrency()
    );
}
```

Check [https://github.com/AlexanderC/ExchangeRates/blob/master/tests/basic.php](tests/basic.php) for more examples

\##TODO##

- Unit tests
- Add more providers

\##License##

- Apache v2.0

\##Sponsors##

- [PyCoding](http://www.pycoding.biz)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

4103d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17dadd09f9325da680931175e2c3293ce2d702c332428e1b66388357091f829e?d=identicon)[AlexanderC](/maintainers/AlexanderC)

---

Top Contributors

[![AlexanderC](https://avatars.githubusercontent.com/u/1415757?v=4)](https://github.com/AlexanderC "AlexanderC (14 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M339](/packages/api-platform-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M739](/packages/sylius-sylius)[illuminate/support

The Illuminate Support package.

630113.0M41.4k](/packages/illuminate-support)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M508](/packages/pimcore-pimcore)

PHPackages © 2026

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