PackageTrack
Sign in Get early access

florianv/swap

Exchange rates library for PHP

4.5.0 7.0M downloads/mo #2266 most downloaded on Packagist florianv/swap

What this package is like to depend on

Last release 5 months ago

09 Mar 2026

Ships unpredictably

gaps range from 5 weeks to 5.2 years

Rarely documented

notes for 7 of 31 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

31 releases · first in 2014

2 releases in the last 12 months

see the full history below

Release timeline

31 releases · May 2014 to Mar 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 31
  1. 4.5.0 09 Mar 2026
    Release notes

    What's Changed

    Breaking Changes

    • Minimum PHP version raised to 8.2 (was 7.4/8.0)
    • Minimum PHPUnit version raised to 11.0 (was 9.x/10.x)

    Improvements

    • Added suggest section to composer.json for PSR-18 client and PSR-17 factory implementations, guiding users toward compatible HTTP dependencies
    • Improved discovery test — Now verifies discovery works end-to-end by creating a service via Factory

    Infrastructure & Tooling

    • Modernized CI pipeline — Replaced Travis CI with GitHub Actions; test matrix covers PHP 8.2, 8.3, 8.4, and 8.5
    • Added Psalm static analysis (level 1) with dedicated CI workflow and baseline
    • Added backward compatibility check workflow
    • Migrated all tests to PHPUnit 11 attributes — Replaced @test and @dataProvider annotations
    • Added composer scriptstest, psalm, cs:fix, cs:check
    • Removed legacy CI configs.scrutinizer.yml, .styleci.yml, .travis.yml
    • Updated README badges — Travis badge replaced with GitHub Actions Tests and Psalm badges

    Full Changelog: 4.4.0...4.5.0

    Open source →
  2. 4.4.0 09 Mar 2026
    Release notes

    Bug Fixes

    • PHP 8.4 compatibility: Use explicit nullable types (?Type) instead of implicit nullable parameters, fixing deprecation notices on PHP 8.4 (Swap.php, Factory.php) #144, #147
    • Replace deprecated HttpClientDiscovery: Use Psr18ClientDiscovery instead of the deprecated HttpClientDiscovery in Factory.php #142

    Maintenance

    • New runtime dependencies: Added symfony/http-client and php-http/message-factory to require
    • New suggestion: php-http/discovery added to suggest for auto-discovery of HttpClient
    • Documentation: Multiple README and docs updates

    Full Changelog: 4.3.0...4.4.0

    Open source →
  3. 4.3.0 28 Dec 2020
    Release notes
    • PHP 8 and PHPUnit 9 support
    Open source →
  4. 4.2.0 19 Aug 2020

    Nothing published for this version

  5. 4.1.0 05 Jun 2020
    Release notes

    Added way to add services by instance

    Open source →
  6. 4.0.1 30 May 2019
    Release notes

    Making Swap not final to allow mocking

    Open source →
  7. 4.0.0 12 Feb 2019
    Release notes

    See CHANGELOG to get more informations about the changes in this new version

    Open source →
  8. 3.5.0 04 Jan 2019
    Release notes
    • Added CurrencyConverterApi service
    Open source →
  9. 3.4.0 19 Apr 2018

    Nothing published for this version

  10. 3.3.0 19 Feb 2018

    Nothing published for this version

  11. 3.2.0 02 Oct 2017

    Nothing published for this version

  12. 3.1.0 27 Mar 2017

    Nothing published for this version

  13. 3.0.2 02 Dec 2016

    Nothing published for this version

  14. 3.0.1 08 Oct 2016

    Nothing published for this version

  15. v3.0.0 18 Sep 2016

    Nothing published for this version

  16. v2.6.1 09 Nov 2017

    Nothing published for this version

  17. v2.6.0 20 Jun 2016

    Nothing published for this version

  18. v2.5.0 20 Apr 2016

    Nothing published for this version

  19. v2.4.1 28 Mar 2016

    Nothing published for this version

  20. v2.4.0 16 Mar 2016

    Nothing published for this version

  21. v2.3.1 09 Mar 2016

    Nothing published for this version

  22. v2.3.0 04 Jan 2016

    Nothing published for this version

  23. v2.2.0 23 Jul 2015

    Nothing published for this version

  24. v2.1.0 10 Jun 2015

    Nothing published for this version

  25. v2.0.1 27 Apr 2015

    Nothing published for this version

  26. v2.0.0 15 Jan 2015

    Nothing published for this version

  27. v1.3.0 22 Jun 2014

    Nothing published for this version

  28. v1.2.0 07 Jun 2014

    Nothing published for this version

  29. v1.1.0 05 Jun 2014

    Nothing published for this version

  30. v1.0.1 31 May 2014

    Nothing published for this version

  31. v1.0.0 12 May 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive