PHPackages                             dwo/exchange\_rate\_adapter - 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. dwo/exchange\_rate\_adapter

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

dwo/exchange\_rate\_adapter
===========================

grep foreign exchange reference rates from the ecb and openexchangerates.org

v1.0.0(9y ago)06MITPHPPHP &gt;=5.3.0

Since Sep 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/davewwww/ExchangeRateAdapter)[ Packagist](https://packagist.org/packages/dwo/exchange_rate_adapter)[ Docs](https://github.com/davewwww)[ RSS](/packages/dwo-exchange-rate-adapter/feed)WikiDiscussions master Synced 3w ago

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

[![Build Status](https://camo.githubusercontent.com/5410c5de79dd173f95552ab2fb1e0f7a1ecf64274cff099d98c5f482305f146a/68747470733a2f2f7472617669732d63692e6f72672f64617665777777772f45786368616e676552617465416461707465722e7376673f6272616e63683d76312e302e31)](https://travis-ci.org/davewwww/ExchangeRateAdapter) [![Coverage Status](https://camo.githubusercontent.com/58af3affc956b546b4e358bf6b9275afe1769b842300103d586463639700e04c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f64617665777777772f45786368616e676552617465416461707465722f62616467652e737667)](https://coveralls.io/r/davewwww/ExchangeRateAdapter)

ExchangeRateAdapter
===================

[](#exchangerateadapter)

Grep the Euro foreign exchange reference rates from the ECB or openexchangerates.org

-
-

### Installation

[](#installation)

Installation with Composer

```
composer require dwo/exchange_rate_adapter
```

### Usage with ECB

[](#usage-with-ecb)

```
$adapter = new EcbExchangeRateAdapter();
$exchangeRates = $adapter->getAll();
```

### Usage with openexchangerates.org

[](#usage-with-openexchangeratesorg)

```
$adapter = new OpenExchangeRateAdapter($yourAppId);
$exchangeRates = $adapter->getAll();
```

You will receive an array with the available currencies

```
   array(31) {
     ["USD"]=>
     float(1.0711)
     ["JPY"]=>
     float(127.64)
     ...
   )
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3559d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92fbda736c9e7b2a06e4d23b0e3768f3f7cec3a609540808ef5db10c348231c0?d=identicon)[dave](/maintainers/dave)

---

Tags

currencyconvertexchangeratesopenexchangeratescurrenciesexchange rateECBeurodollar

### Embed Badge

![Health badge](/badges/dwo-exchange-rate-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/dwo-exchange-rate-adapter/health.svg)](https://phpackages.com/packages/dwo-exchange-rate-adapter)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.8k69.4k](/packages/grumpydictator-firefly-iii)[torann/currency

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.

4031.1M6](/packages/torann-currency)[firefly-iii/data-importer

Firefly III Data Import Tool.

8005.8k](/packages/firefly-iii-data-importer)[cartalyst/converter

A framework agnostic measurement conversion and formatting package featuring multiple types of measurements and currency conversion.

88471.0k7](/packages/cartalyst-converter)

PHPackages © 2026

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