PHPackages                             investbrainapp/frankfurter-client - 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. investbrainapp/frankfurter-client

ActiveLibrary[API Development](/categories/api)

investbrainapp/frankfurter-client
=================================

Laravel SDK for interacting with the Frankfurter currency exchange API

2271PHP

Since Mar 24Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/investbrainapp/frankfurter-client)[ Packagist](https://packagist.org/packages/investbrainapp/frankfurter-client)[ RSS](/packages/investbrainapp-frankfurter-client/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Frankfurter API wrapper for Laravel
===================================

[](#frankfurter-api-wrapper-for-laravel)

This is a simple wrapper for the fantastic Frankfurter API.

### Installation

[](#installation)

Use composer to install:

```
composer require investbrainapp/frankfurter-client
```

### Usage

[](#usage)

This package provides a simple Laravel facade that exposes all functionality provided by the Frankfurter API.

##### Latest

[](#latest)

To get the latest exchange rate use the `latest` method:

```
return Frankfurter::latest();
```

##### Historical

[](#historical)

To get a historic exchange rate, pass a well formated date string or a `DateTime` object to the `historical` method:

```
return Frankfurter::historical('2025-01-01');
```

##### Time series

[](#time-series)

To get time series data for a range of dates, pass well formated date strings or `DateTime` objects to the `timeSeries` method:

```
return Frankfurter::timeSeries('2023-01-01', '2024-12-31');
```

If you want all rates between a date in the past and today's date, you can omit the second argument to the `timeSeries` method:

```
return Frankfurter::timeSeries('2023-01-01');
```

##### Supported currencies

[](#supported-currencies)

You can call the `currencies` method to get a list of all supported currencies:

```
return Frankfurter::currencies();
```

### Other methods

[](#other-methods)

You can pass an array to the `setSymbols` method to limit the query to only specified symbols:

```
Frankfurter::setSymbols(['INR','JPY','GBP'])->latest();
```

You can also set the base currency using the `setBaseCurrency` method:

```
Frankfurter::setBaseCurrency(['GBP'])->latest();
```

### Configuration

[](#configuration)

You can publish the `frankfurter.php` config file by running:

```
php artisan vendor:publish --provider="Investbrain\Frankfurter\FrankfurterServiceProvider" --tag=config
```

In the config file, you can adjust your base currency and the base url (if you're self hosting Frankfurter).

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance54

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity12

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://www.gravatar.com/avatar/f48c8f47093bb132791728e8c6d1309febbf7db4bf2f648ac38c2ae7cc37b587?d=identicon)[hackerESQ](/maintainers/hackerESQ)

---

Top Contributors

[![hackeresq](https://avatars.githubusercontent.com/u/16628119?v=4)](https://github.com/hackeresq "hackeresq (8 commits)")

---

Tags

currency-converterexchange-apiforexlaravel

### Embed Badge

![Health badge](/badges/investbrainapp-frankfurter-client/health.svg)

```
[![Health](https://phpackages.com/badges/investbrainapp-frankfurter-client/health.svg)](https://phpackages.com/packages/investbrainapp-frankfurter-client)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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