Horje
Fixerio Php Client

 

Download
File:
PHP
Size:
14 bytes
Extension:
zip
FixerIO PHP client

README

Simple PHP client for Fixer.io API

Installation

$ composer require xotelia/fixerio-php-client

Usage

<?php

require __DIR__.'/vendor/autoload.php';

use FixerIO\FixerIO;

$fixer = new FixerIO();
$rates = $fixer->fetchRates('EUR', ['GBP', 'USD']);

With cache

$cache = new \Doctrine\Common\Cache\FilesystemCache('./cache');

$fixer = new FixerIO($cache, 3600);
$rates = $fixer->fetchRates('EUR', ['GBP', 'USD']);



PHP

Related
Google Map Bundle Google Map Bundle
Slad Booking Bundle Slad Booking Bundle
Paystack Php Lib Paystack Php Lib
Lib Db Lib Db
Zipper Zipper

Type:
Package
Category:
Download
Sub Category:
PHP
Uploaded by:
Admin
Views:
8