PHPackages                             ranium/laravel-fixerio - 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. ranium/laravel-fixerio

ActiveLibrary[API Development](/categories/api)

ranium/laravel-fixerio
======================

Laravel package/client for fixer.io api, a foreign exchange rates and currency conversion API.

v1.2.0(5y ago)637.9k↑58.3%3MITPHPPHP ^7.2|^8.0CI failing

Since Feb 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ranium/laravel-fixerio)[ Packagist](https://packagist.org/packages/ranium/laravel-fixerio)[ RSS](/packages/ranium-laravel-fixerio/feed)WikiDiscussions 1.x Synced 2d ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

 [ ![Build Status](https://github.com/ranium/laravel-fixerio/workflows/tests/badge.svg) ](https://github.com/ranium/laravel-fixerio/actions) [ ![Total Downloads](https://camo.githubusercontent.com/e92ede04aa6e394e0c8e791e80a29b9e9505979a591ab19581e067e8c1b3e51b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616e69756d2f6c61726176656c2d6669786572696f) ](https://packagist.org/packages/ranium/laravel-fixerio) [ ![Latest Stable Version](https://camo.githubusercontent.com/0cd3e921e7a8800cf1df085043fbffb9137b2eabcf8de4f28625acc33494b8c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616e69756d2f6c61726176656c2d6669786572696f) ](https://packagist.org/packages/ranium/laravel-fixerio) [ ![License](https://camo.githubusercontent.com/eb9eff399bf29983536f0cc6a95d6cbdb549b8146c7dfe031ec928ad795b6d28/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72616e69756d2f6c61726176656c2d6669786572696f) ](https://packagist.org/packages/ranium/laravel-fixerio)

Laravel Fixer.io
================

[](#laravel-fixerio)

Provides an easy to use Laravel package for [fixer.io](https://fixer.io) exchange rates and currency conversion JSON API. This is basically a Laravel wrapper for [ranium/fixerio-php-client](https://github.com/ranium/fixerio-php-client).

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

[](#installation)

Run the following from the root of your Laravel app

`composer require ranium/laravel-fixerio`

Configuration
-------------

[](#configuration)

Publish the config file

`php artisan vendor:publish --tag=laravel-fixerio`

Edit the `config/fixerio.php` and put your access key and tweak other config options as needed. Note that the `secure` option works only with the paid plans of fixer.io.

Usage
-----

[](#usage)

```
// Resolve the client class instance out of the service container
$fixerio = app(\Ranium\LaravelFixerio\Client::class);

// Find latest rates
$latestRates = $fixerio->latest();

echo $latestRates['rates']['INR'];

// Find historical rates
$historicalRates = $fixerio->historical(['date' => '2019-01-01']);

echo $historicalRates['rates']['INR'];
```

You can use the provided Facade as well

```
use Fixerio;

$latestRates = Fixerio::latest();
```

As there is a hard limit on number of requests you can make to fixer.io, this package provides an easy way to cache the responses. Default cache storage is used for caching.

Modify the `config/fixerio.php` to enable the caching.

```
'cache' => [
    'enabled' => true,
    'expire_after' => 60, // In minutes, change this as per requirement
];
```

You can disable cache in the runtime.

```
use Fixerio;

Fixerio::disableCache();

$latestRates = Fixerio::latest();

// Enable cache again for other calls
Fixerio::enableCache();

// Other calls to the API...
```

Please refer [ranium/fixerio-php-client](https://github.com/ranium/fixerio-php-client) for all available API calls and other details.

The response for all the above calls will be a Guzzle Command Result object. Please refer fixer.io's [documentation](https://fixer.io/documentation) for further details about various endpoints, request parameters and response objects.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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 ~173 days

Total

5

Last Release

2012d ago

Major Versions

v0.0.1 → v1.0.02019-02-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1827901?v=4)[Ranium Systems](/maintainers/ranium)[@ranium](https://github.com/ranium)

---

Top Contributors

[![abbasali](https://avatars.githubusercontent.com/u/145739?v=4)](https://github.com/abbasali "abbasali (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ranium-laravel-fixerio/health.svg)

```
[![Health](https://phpackages.com/badges/ranium-laravel-fixerio/health.svg)](https://phpackages.com/packages/ranium-laravel-fixerio)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M987](/packages/statamic-cms)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M134](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M62](/packages/knuckleswtf-scribe)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.8k](/packages/scriptdevelop-whatsapp-manager)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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