florianv/swap
PHP 8.2+ currency exchange rate library with a single API over 30+ providers. Supports conversion, historical rates, PSR-16 caching, and provider fallback. Works with PSR-18 HTTP clients and PSR-17 factories for flexible integrations.
suggest section to composer.json for PSR-18 client and PSR-17 factory implementations, guiding users toward compatible HTTP dependenciesFactory[@test](https://github.com/test) and [@dataProvider](https://github.com/dataProvider) annotationstest, psalm, cs:fix, cs:check.scrutinizer.yml, .styleci.yml, .travis.ymlFull Changelog: https://github.com/florianv/swap/compare/4.4.0...4.5.0
HttpClientDiscovery: Use Psr18ClientDiscovery instead of the deprecated HttpClientDiscovery in Factory.php #142Full Changelog: https://github.com/florianv/swap/compare/4.3.0...4.4.0
xChangeApi.com support
Added way to add services by instance
Making Swap not final to allow mocking
See CHANGELOG to get more informations about the changes in this new version
Fixed now invalid Google service url
Support crypto currencies via Cryptonator
New Russian Central Bank service
Update exchanger to include this bug fix https://github.com/florianv/exchanger/pull/5
Update Exchanger to version 0.2.0
New major version including:
http-adapter 1.0
Implemented Illuminate cache
Fixed the way to retrieve body content
How can I help you explore Laravel packages today?