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
Version 2.4.02.4.0
💥 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
Added PHP 8 support
Version 2.2.02.2.0
xChangeApi.com support
Version 2.1.02.1.0
Support for Laravel 6
Version 2.0.02.0.0
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
Fixed Fixer service which now requires an access_key
Use latest Swap1.2.0
📋 Changes
- Added Forge service
- Added CurrencyDataFeed service
- Supported historical rates in National Bank Of Romania
Version 1.1.21.1.2
Fixed array service definition
Version 1.1.11.1.1
Version 1.1.01.1.0
Lumen support
Version 1.0.01.0.0
Use Swap 3.0
0.4.0
0.3.0
0.2.1
0.2.0
v0.1.0
