Releases: otherguy/php-currency-api
Releases · otherguy/php-currency-api
2.0.0
2.0.0
Version 2.0 is a modernization of php-currency-api with a stricter PHP 8.3+ baseline, PSR HTTP abstractions, precise decimal math, updated provider support, and a refreshed test/tooling/docs surface.
- Require PHP 8.3+ and add strict types throughout.
- Replace hard-wired Guzzle usage with PSR-18 client and PSR-17 request factory support.
- Add
Currencybacked enum while keepingSymbolas a deprecation shim. - Switch conversion rates from floats to
brick/mathBigDecimal. - Add new built-in drivers:
frankfurtercurrencyapifastforex
- Rewrite
exchangeratesapifor APILayer’s current endpoint and implement conversion support. - Add instance-based
DriverFactoryregistration while preservingDriverFactory::make(). - Add modern CI/tooling:
- GitHub Actions
- Pint
- PHPStan
- Rector
- PHPUnit 12
Please refer to the README.md and UPGRADING.md for features and upgrading instructions.
v1.7
v1.6
v1.5
v1.4
v1.3
v1.2
v1.1
Now supports: