

Fixer.io is a simple and lightweight API for current and historical foreign exchange rates. We came across this wonderful service while developing a recent project. I searched but couldn’t find any Fixer.io PHP client fitting our needs for the project so I decided to build a PHP and Laravel package for the same.
Fixer.Io PHP Client
This is a standalone PHP client for fixer.io. It can be easily installed using composer
.
composer require ranium/fixerio-php-client
After installation, you can use the client in your code as follows:
You can find the complete installation and usage instructions on the Github project page. Please feel free to report issues or feature requests on Github.
Fixer.Io Laravel 5 Package At Ranium, our framework of choice is Laravel. And the project where we needed a client for fixer.io was being developed in Laravel. So I went ahead and created a Laravel wrapper for the fixer.io PHP client.
You can install the Laravel package with:
composer require ranium/laravel-fixerio
After installation, you need to publish the fixer.io config file.
php artisan vendor:publish --tag=laravel-fixerio
Then edit the fixerio.php
config file to put your access key and configure the caching. The Laravel package comes with an additional feature of caching the API responses. This saves your monthly fixer.io bill.
The usage is as simple as
For more details, configuration options and usage please refer the Laravel Fixer.io Github project page. Please feel free to report issues or feature requests on Github.
Note: For more details on all the available API methods and endpoints, please refer the official fixer.io documentation.

As the company’s CEO and Director, Abbas has spearheaded Ranium’s journey of success. A mechanical engineer by education, he took a dip in the software development industry right out of college and now has over 18 years of experience in the industry. He founded Ranium in July 2012 with a team of two and hasn’t looked back since. With a strategic vision and relentless passion, he has worked to emerge as a leader who can work with a range of technologies and expertly navigate through the shifting industrial landscape.
A tech enthusiast to the core, he is very impassioned about educating others and organises regular meet-ups and presents talks to contribute towards the same. From time to time, he also publishes open-source software to make more resources available to budding software developers.
He has authored the popular Spinx Search book, published by Packt Publishing, UK and is also the core team member of the Coppermine Photo Gallery. Because of his 'No work is small or big' attitude, he can be found playing all kinds of roles in the office whenever required. Abbas is also an avid sports enthusiast and is always up for a game or two.