florianv/exchanger
PHP exchange-rate provider layer with 31 services behind one ExchangeRateService interface. Supports historical rates, PSR-16 caching, and chainable fallback across providers (commercial APIs, ECB, national banks, exchangerate.host) for fine-grained control.
getProviderName()) for transparency in financial reporting or regulatory requirements.Swap library for higher-level needs.Adopt if:
Look elsewhere if:
Swap library (built on Exchanger)."Exchanger is a turnkey solution to eliminate technical debt in currency conversion—integrating 31+ exchange rate providers (including free and paid tiers) behind a single, resilient interface. It reduces API costs via caching, ensures uptime with fallback chains, and supports global scaling (160+ currencies, 500+ cryptos). For $18/month, we can sponsor fastFOREX’s premium tier for real-time reliability, while free tiers cover basic needs. This cuts dev time by 80% compared to building in-house, and the MIT license avoids licensing risks."
Key Outcomes:
*"Exchanger provides a PSR-compliant, chainable exchange rate layer with:
ExchangeRateService interface.ExchangeRateService or wrap services with middleware (e.g., rate limiting).Why not build it?
Swap for higher-level needs (e.g., currency formatting, locale support).Trade-offs:
Swap (this is the low-level layer it’s built on)."*Proposed Implementation:
Chain (e.g., fastFOREX → ECB fallback).How can I help you explore Laravel packages today?