PHPackages                             nacoma/fixer-io - 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. nacoma/fixer-io

ActiveLibrary[API Development](/categories/api)

nacoma/fixer-io
===============

A wrapper around the fixer.io currency API

0.9.1(4y ago)111.1k↓68.3%MITPHPPHP ^8.0

Since Jun 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Nacoma/fixer-io)[ Packagist](https://packagist.org/packages/nacoma/fixer-io)[ RSS](/packages/nacoma-fixer-io/feed)WikiDiscussions main Synced 2d ago

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

Fixer.io API Wrapper
====================

[](#fixerio-api-wrapper)

[![tests](https://github.com/Nacoma/fixer-io/actions/workflows/tests.yml/badge.svg)](https://github.com/Nacoma/fixer-io/actions/workflows/tests.yml)[![codecov](https://camo.githubusercontent.com/f10ee2a0a6f572b1c0826ae8bbdcbb5af33e76f8bb20248edbea8e5c97bdf558/68747470733a2f2f636f6465636f762e696f2f67682f4e61636f6d612f66697865722d696f2f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d425536583745354b394e)](https://codecov.io/gh/Nacoma/fixer-io)

A wrapper around [Fixer.io](https://fixer.io/)'s currency conversion rates API with minimal dependencies. Upgrading applications is always a hassle. This project aims to help relieve some of that pressure by depending exclusively on PSR interfaces instead of hard dependencies - while maintaining a comfortable API.

An additional goal of this project is to always deliver typed results. There's very little guessing about associative arrays involved when consuming this API.

Supported Endpoints
-------------------

[](#supported-endpoints)

- Supported Symbols
- Latest Rates
- Historical Rates
- Convert Currency
- Time Series
- Fluctuation

Usage
-----

[](#usage)

```
use Nacoma\Fixer\ExchangeFactory;
use Nacoma\Fixer\Http\Client;
use Nacoma\Fixer\Http\Middleware\ETagMiddleware;

$client = new Client(new Psr18Client(), [
    new ETagMiddleware(
        new SimpleCache(),
        new Psr17ResponseFactory(),
        new Psr17StreamFactory(),
    )
]);

$exchangeFactory = new ExchangeFactory(
    $client,
    new Psr17RequestFactory(),
    new Psr17UriFactory(),
    'your-access-key',
);

$exchange = $exchangeFactory->create('USD', ['EUR', 'JPY']);

// obtaining all rates
$result = $exchange->latestRates();

// manual conversion
$converted = 50 * $result->rates['EUR'];

// API endpoint conversion
$converted = $exchange->convert('USD', 'EUR', 50);
```

The optional `Nacoma\Fixer\Http\Client` is a thin Psr-18 compatible wrapper around any HTTP client. It enables custom middleware chaining in order to support caching via the `ETag` header.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Every ~57 days

Total

2

Last Release

1789d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11e33c71e59361305dacb0d214c4956981c8888b93a549d1877ef2a9122ad242?d=identicon)[Nacoma](/maintainers/Nacoma)

---

Top Contributors

[![Nacoma](https://avatars.githubusercontent.com/u/1852424?v=4)](https://github.com/Nacoma "Nacoma (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nacoma-fixer-io/health.svg)

```
[![Health](https://phpackages.com/badges/nacoma-fixer-io/health.svg)](https://phpackages.com/packages/nacoma-fixer-io)
```

###  Alternatives

[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[tempest/framework

The PHP framework that gets out of your way.

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

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

60216.0M85](/packages/mollie-mollie-api-php)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)

PHPackages © 2026

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