PHPackages                             everapi/fxapi-php - 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. everapi/fxapi-php

ActiveLibrary[API Development](/categories/api)

everapi/fxapi-php
=================

A PHP wrapper for the fxapi.com API

0184PHP

Since May 23Pushed 3y ago2 watchersCompare

[ Source](https://github.com/everapihq/fxapi-php)[ Packagist](https://packagist.org/packages/everapi/fxapi-php)[ RSS](/packages/everapi-fxapi-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://camo.githubusercontent.com/ee723098beea3d544460112d594eaafd10a32a3d82b56977aa353f82ba92cd8b/68747470733a2f2f6170702e66786170692e636f6d2f696d672f6c6f676f2f66786170692e706e67)](https://camo.githubusercontent.com/ee723098beea3d544460112d594eaafd10a32a3d82b56977aa353f82ba92cd8b/68747470733a2f2f6170702e66786170692e636f6d2f696d672f6c6f676f2f66786170692e706e67)

fxapi-php - PHP Foreign Exchange Rates Converter
================================================

[](#fxapi-php---php-foreign-exchange-rates-converter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b8c2054a29dfdcacd3f3c1a60398274c1eefb34c19b6c9a2dacc693a1c2e2b2c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657665726170692f66786170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/everapi/fxapi-php)[![Total Downloads](https://camo.githubusercontent.com/4ed0e691098f9d41db6ba742e94aaad7d9d3318780b74d64768b3b34194f591d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657665726170692f66786170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/everapi/fxapi-php)

This package is a PHP wrapper for [fxapi.com](https://fxapi.com), a foreign exchange rates API, that aims to make the usage of the API as easy as possible in your project.

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

[](#installation)

You can install the package via composer:

```
composer require everapi/fxapi-php
```

Usage
-----

[](#usage)

Initialize the API with your API Key (get one for free at [fxapi.com](https://fxapi.com)):

```
$fxApi = new \FxApi\FxApi\FxApiClient('YOUR-API-KEY');
```

Afterwards you can use the endpoints of the API like this:

```
echo $fxApi->latest([
    'base_currency' => 'EUR',
    'currencies' => 'USD',
]);
```

Endpoints accessible with a free account:

- `status`
- `currencies`
- `latest`
- `historical`

These advanced endpoints currently require a paid subscription:

- `convert`
- `range`

Learn more about endpoints, parameters and response data structure in the [docs](https://fxapi.com/docs).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47618421?v=4)[everapi](/maintainers/everapi)[@everapi](https://github.com/everapi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/everapi-fxapi-php/health.svg)

```
[![Health](https://phpackages.com/badges/everapi-fxapi-php/health.svg)](https://phpackages.com/packages/everapi-fxapi-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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