Skip to content

Releases: otherguy/php-currency-api

2.0.0

27 Apr 13:53
3a9c3ca

Choose a tag to compare

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 Currency backed enum while keeping Symbol as a deprecation shim.
  • Switch conversion rates from floats to brick/math BigDecimal.
  • Add new built-in drivers:
    • frankfurter
    • currencyapi
    • fastforex
  • Rewrite exchangeratesapi for APILayer’s current endpoint and implement conversion support.
  • Add instance-based DriverFactory registration while preserving DriverFactory::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

23 Mar 13:31
258c5d3

Choose a tag to compare

Add PHP 8 Support

v1.6

03 Dec 00:40

Choose a tag to compare

  • Preparation for PHP 8
  • Update all dependencies
  • Deprecate PHP 7.1 and 7.2 support

v1.5

30 Jan 22:16

Choose a tag to compare

  • Update dependencies

v1.4

17 Jun 10:51
990715b

Choose a tag to compare

  • Fixed exception message for the fixer.io driver

v1.3

17 Jun 10:08
ed82868

Choose a tag to compare

  • Fixes the Packagist release

v1.2

17 Jun 10:06
ed82868

Choose a tag to compare

  • DriverFactory::getDrivers() now returns an associative array with the value being the class name.
  • Release packages are now smaller

v1.1

14 Jun 10:11

Choose a tag to compare

v1.0

13 Jun 15:21

Choose a tag to compare

Initial production release!

v0.2

13 Jun 11:18

Choose a tag to compare

v0.2 Pre-release
Pre-release

Support for Fixer.io and CurrencyLayer added.