NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2741 most downloaded on Packagist
PHP exchange rate provider layer for currency conversion: 30+ services, chain fallback, and caching.
Latest stable
2.11.0
Last release 1 months ago
23 Oct 2026
Release timing varies
gaps range from 2 weeks to 1.6 years
Most releases are documented
notes for 41 of 55 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
55 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
CI runs composer cs:check , fails on PHPUnit warnings and deprecations, and all workflows use read-only permissions, concurrency, timeouts and Compose…
UnsupportedDateException instead of fetching them.error field.Exchanger\Exception\Exception. Previously ECB and Turkey dated the rate "now" and the others reported an unsupported currency pair.DivisionByZeroError.Exchanger\Contract\HistoricalExchangeRateQuery, so custom implementations of the contract are recognised.ExchangeRateProvider::getExchangeRate() documents the exceptions callers may need to catch.StringUtil::xpath() helper that returns a list instead of array|false|null.PhpArray takes scalar rates, Chain takes any iterable of services, ChainException holds Throwables, and several nullable return types are corrected.composer cs:check, fails on PHPUnit warnings and deprecations, and all workflows use read-only permissions, concurrency, timeouts and Composer caching.psalm/plugin-phpunit), runs at error level 2, and the baseline is gone.HttpServiceContractTestCase, a shared contract test for HTTP services, plus RepositoryConventionsTest and a stricter RegistryTest. Three tests that never ran are revived, and FixerApiLayer has tests.CONTRIBUTING.md, including a policy for AI-assisted contributions, and a pull request template.Full Changelog: 2.10.1...2.11.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix: detect BNR XML namespace instead of hardcoding it by @peterlupu in https://github.com/florianv/exchanger/pull/184
Full Changelog: https://github.com/florianv/exchanger/compare/2.10.0...2.10.1
Full Changelog: 2.10.0...2.10.1
UniRateAPI, supporting latest and historical rates.
HttpService now accepts an optional StreamFactoryInterface and exposes a postRequest() helper, enabling services that POST request bodies.#[\Override] attributes and missing @api annotations.symfony/http-client dependency auto-added by php-http/discovery.symfony/http-client ^7.0 for PHP 8.2 / 8.3 CI.Full Changelog: https://github.com/florianv/exchanger/compare/2.9.1...2.10.0
Updates to fastFOREX integration
Minimum PHP version raised to 8.2 (was 7.4/8.0). PHP 8.1 is EOL
HttpClientDiscovery with Psr18ClientDiscovery in HttpService.php — if you extend HttpService or rely on php-http/discovery directly (as a shadow dependency), ensure your HTTP client is discoverable via PSR-18www.bnr.ro to the official curs.bnr.ro subdomain per BNR documentation. The old endpoints may have stopped working or could stop at any time. (#169)bc-check.yml)@test and @dataProvider annotations; data provider methods are now public statictest, psalm, cs:fix, cs:check.scrutinizer.yml, .styleci.yml, .travis.ymlsymfony/http-client, php-http/message-factoryFull Changelog: https://github.com/florianv/exchanger/compare/2.8.3...2.9.0
fix: use explicit nullable types for PHP 8.4 compatibility by @alies-dev in https://github.com/florianv/exchanger/pull/171
Full Changelog: https://github.com/florianv/exchanger/compare/2.8.2...2.8.3
Full Changelog: 2.8.2...2.8.3
Nothing published for this version
Merge pull request #158 from tacman/patch-1
Merge pull request #158 from tacman/patch-1
change psr/http-factory
National Bank of Georgia service
abstract api historical updates
abstractapi updates
Nothing published for this version
Fixed breaking config change from exchangeratesapi
Nothing published for this version
Nothing published for this version
- PHP 8.0 support - 1Forge url updates
- Added Xchangeapi.com service - Fixed issue with BNR
Nothing published for this version
Fixed http(s) issue with the central_bank_of_republic_turkey service
Fixed http(s) issue with the central_bank_of_republic_turkey service
Fully support generators for Chain
Fully support generators for Chain
Fix to be compatible with laravel 5.8
Fix to be compatible with laravel 5.8
Nothing published for this version
Nothing published for this version
Implemented Bulgarian National Bank
Fixed issue with invalid cached values
Fixed issue with invalid cached values
Switched to HTTPS for National Bank of Romania
Switched to HTTPS for National Bank of Romania
Added ExchangeRatesApi service
Added ExchangeRatesApi service (https://exchangeratesapi.io)
Central bank of czech republic url fix
Central bank of czech republic url fix
Currency converter requires an api key
See CHANGELOG to get more informations about the changes in this new version
See CHANGELOG to get more informations about the changes in this new version
Migrated from PHP 5.5 to PHP 7.1+
Updated PHP HTTP dependency to version 2
Removed the deprecated Yahoo service which has been removed by Yahoo
Removed the deprecated Google service which has been very unreliable and unstable on different platforms
Fixed the exchange rate value to always be a float instead of a string
Added information about which service returned a rate with ExchangeRate::getProviderName()
Removed the InternalException only used in the PhpArray service
Modified the PHPArray service to only support scalars as rates (rate objects are not compatible)
We now rely on PSR-16 Simple Cache instead of PSR-6 Cache. You can use https://github.com/php-cache/simple-cache-bridge as a bridge between PSR-6 and PSR-16.
Added a getCurrencyPair() to the exchange rate objects
Removed the Historical service class in favor of the SupportsHistoricalQueries trait
Nothing published for this version
Nothing published for this version
Updates due to Google response format changes
Updates due to Google response format changes
Currency converter requires an api key
Add the historical exchange rate support for CBRT
validated 1Forge responses when all symbols are returned
Nothing published for this version
Central Bank of Czech Republic historical exchange rates support
Central Bank of Czech Republic historical exchange rates support
Fixing Fixer's new API error messages
Fixing Fixer's new API error messages
Nothing published for this version
added a deprecation notice about the Google service not very reliable
Fixed libxml issues on exception in the Google service
Fixed libxml issues on exception in the Google service
Nothing published for this version
NationalBankOfRomania supports historical conversions
Supported historical rates in National Bank Of Romania
Support crypto currencies via the Cryptonator service
Support crypto currencies via the Cryptonator service
- Fixed the Google service urls
- Support for cache key prefixes
Support historical rates in the php array service
Improved ChainException messages
Improved ChainException messages
New Russian Central Bank service
New Russian Central Bank service
Fixed National Bank Of Romania provider
Fixed National Bank Of Romania provider
added a cache option to disable cache for a specific query
cache option to disable cache for a specific queryNothing published for this version
Nothing published for this version
One column per quarter.