GitPedia
florianv

florianv/laravel-swap

Drop-in Laravel currency conversion: auto-discovered service provider, facade, and config. Multi-provider exchange rates with fallback and caching.

17 Releases
Latest: 1mo ago
Version 2.4.12.4.1Latest
florianvflorianv·1mo ago·May 16, 2026
GitHub
Version 2.4.02.4.0
alies-devalies-dev·3mo ago·March 9, 2026
GitHub

💥 Breaking Changes

  • Minimum PHP version raised to 8.2 (was 7.4/8.0)
  • Minimum PHPUnit version raised to 11.0
  • Upgraded `graham-campbell/testbench` to ^6.2

📦 Improvements

  • Added PHPDoc to `Swap` Facade for IDE intellisense and static analysis support (#91 #94)
  • Updated services list in config and documentation to reflect currently available exchange rate providers
  • Updated documentation — Refreshed README, config examples, and service API key references

📦 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
  • Added composer scripts — `test`, `psalm`, `cs:fix`, `cs:check`
  • Removed legacy configs — `.scrutinizer.yml`, `.styleci.yml`, `.travis.yml`, `.php_cs.dist`, `FUNDING.yml`
  • Updated README badges — Travis badge replaced with GitHub Actions Tests and Psalm badges
  • Full Changelog: https://github.com/florianv/laravel-swap/compare/2.3.0...2.4.0
Version 2.3.02.3.0
florianvflorianv·5y ago·January 11, 2021
GitHub

Added PHP 8 support

Version 2.2.02.2.0
florianvflorianv·5y ago·August 19, 2020
GitHub

xChangeApi.com support

Version 2.1.02.1.0
florianvflorianv·6y ago·October 14, 2019
GitHub

Support for Laravel 6

Version 2.0.02.0.0
florianvflorianv·7y ago·February 12, 2019
GitHub

This version adds compatibility with Swap 4.0. Feel free to check Swap's CHANGELOG to see what's new in this version.

Fixer now requires an access key1.3.0
florianvflorianv·8y ago·April 19, 2018
GitHub

Fixed Fixer service which now requires an access_key

Use latest Swap1.2.0
florianvflorianv·8y ago·February 19, 2018
GitHub

📋 Changes

  • Added Forge service
  • Added CurrencyDataFeed service
  • Supported historical rates in National Bank Of Romania
Version 1.1.21.1.2
florianvflorianv·8y ago·February 12, 2018
GitHub

Fixed array service definition

Version 1.1.11.1.1
florianvflorianv·8y ago·December 18, 2017
GitHub
Version 1.1.01.1.0
florianvflorianv·9y ago·December 22, 2016
GitHub

Lumen support

Version 1.0.01.0.0
florianvflorianv·9y ago·October 9, 2016
GitHub

Use Swap 3.0

0.4.0
florianvflorianv·10y ago·May 4, 2016
GitHub
0.3.0
florianvflorianv·10y ago·April 3, 2016
GitHub
0.2.1
florianvflorianv·10y ago·December 29, 2015
GitHub
0.2.0
florianvflorianv·10y ago·December 25, 2015
GitHub
v0.1.0
florianvflorianv·11y ago·June 11, 2015
GitHub