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

ActiveLibrary[API Development](/categories/api)

everapi/currencyapi-php
=======================

A PHP wrapper for the currencyapi.com API

v1.0.0(4y ago)8177.0k—8.3%11MITPHPPHP ^8.0

Since May 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/everapihq/currencyapi-php)[ Packagist](https://packagist.org/packages/everapi/currencyapi-php)[ Docs](https://github.com/everapihq/currencyapi-php)[ RSS](/packages/everapi-currencyapi-php/feed)WikiDiscussions master Synced 1mo ago

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

[![](https://camo.githubusercontent.com/e84308cf0751ca94b17bc37f4c620209cb17b496c20e8e448e4cff8e7d08af48/68747470733a2f2f6170702e63757272656e63796170692e636f6d2f696d672f6c6f676f2f63757272656e63796170692e706e67)](https://camo.githubusercontent.com/e84308cf0751ca94b17bc37f4c620209cb17b496c20e8e448e4cff8e7d08af48/68747470733a2f2f6170702e63757272656e63796170692e636f6d2f696d672f6c6f676f2f63757272656e63796170692e706e67)

currencyapi-php - PHP Currency Converter
========================================

[](#currencyapi-php---php-currency-converter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5d3c7f97312e7995c4df3846a0cd95bc4272499139eb35479015272253f0e0c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657665726170692f63757272656e63796170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/everapi/currencyapi-php)[![Total Downloads](https://camo.githubusercontent.com/33c88e1278d72d1cd8762db96529154ad2c3557d1463e5d9591ac2b6953f808d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657665726170692f63757272656e63796170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/everapi/currencyapi-php)

This package is a PHP wrapper for [currencyapi.com](https://currencyapi.com) 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/currencyapi-php
```

Usage
-----

[](#usage)

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

```
$currencyApi = new \CurrencyApi\CurrencyApi\CurrencyApiClient('YOUR-API-KEY');
```

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

```
echo $currencyApi->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://currencyapi.com/docs).

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community11

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

1474d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/309ffc139b4aad5ab670a50706449e75eeea2798f284e1380f88d69a68f9fe65?d=identicon)[everapi](/maintainers/everapi)

---

Top Contributors

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

---

Tags

apicurrencyexchange ratescurrency-convertercurrency conversioncurrencyapi.comcurrencyapi-phpcurrencyapicurrency data

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[otherguy/php-currency-api

A PHP API Wrapper to offer a unified programming interface for popular Currency Rate APIs.

2526.2k](/packages/otherguy-php-currency-api)

PHPackages © 2026

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