orlac/openexchangerates

There is no license information available for the latest version (0.01) of this package.

0.01 2023-11-01 21:29 UTC

This package is auto-updated.

Last update: 2025-04-29 01:28:36 UTC


README

PHP client https://openexchangerates.org/

Install

Via Composer

$ composer require orlac/openexchangerates

Usage

$appId = '<your_app_id>';
$baseUri = 'https://openexchangerates.org/api/';

$client = new ApiClient(new CurlConnect($appId, $baseUri));

$rsp = $client->request(Endpoints::Latest->value, new DtoBuilder());

var_dump($rsp);