Laravel package/client for fixer.io api, a foreign exchange rates and currency conversion API.
eluafidev/laravel-easyfixerapi is a Laravel package for laravel package/client for fixer.io api, a foreign exchange rates and currency conversion api..
It currently has 0 GitHub stars and 5 downloads on Packagist (latest version v1.0.0).
Install it with composer require eluafidev/laravel-easyfixerapi.
Discover more Laravel packages by eluafidev
or browse all Laravel packages to compare alternatives.
Last updated
Provides an easy to use Laravel package for fixer.io exchange rates and currency conversion JSON API.
Run the following from the root of your Laravel app.
composer require eluafidev/laravel-easyfixerapi
use ElouafiDev\EasyFixerApi\FixerApi;
$fixerio = new FixerApi(" KEY Fixer API ");
$fixerio->apiget(); // Get currency values from API
$fixerio->CurrencyExchange(1,"USD","MAD")
/*If the result is -1, you have an error*/
This package is open-sourced software licensed under the MIT license.