tigranmaestro/open-exchange-rates-api-client

PHP library to consume OpenExchangeRates API

Maintainers

Package info

github.com/tigranmaestro/OpenExchangeRatesAPIClient

Issues

pkg:composer/tigranmaestro/open-exchange-rates-api-client

Statistics

Installs: 7 144

Dependents: 0

Suggesters: 0

Stars: 0

dev-master 2016-09-30 09:15 UTC

This package is not auto-updated.

Last update: 2026-04-02 02:27:56 UTC


README

This package is a slightly OpenExchangeRates API wrapper. Right now it only supports latest.json endpoint

Usage - simple

Simplest possible use case:

$wrapper = new \TigranMaestro\OpenExchangeRatesPHPClient\Wrapper('__YOUR_APP_ID__');
$wrapper->setHttpClient();

$api = $wrapper->createLatestAPI();
$api->setSymbols([
    'EUR',
    'AMD'
]);

$result = $api->call();

echo "<pre>";
var_dump($result);
echo "</pre>";

That's it, this is all you need to get started.