lok0613 / exchange-rates-api-io
Installs: 42
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/lok0613/exchange-rates-api-io
Requires
- guzzlehttp/guzzle: ^7.3
Requires (Dev)
- phpunit/phpunit: ^9
This package is not auto-updated.
Last update: 2025-10-04 03:50:31 UTC
README
use Lok0613\ExchangeRatesApiIo; use Lok0613\ExchangeRatesApiIo\Currency; $exchange_rates_api_io = new ExchangeRatesApiIo('access-token'); $rates = $exchange_rates_api_io->latestRates(new Currency('EUR'))->getRates(); $rates[0]->getCurrency()->getName(); // 'AED' $rates[0]->getRate(); // 4.306
Installation
~$ composer require lok0613/exchange-rates-api-io
Test
~$ ./vendor/bin/phpunit tests
License
ExchangeRatesApiIO is made available under the MIT License (MIT). Please see License File for more information.