Swap is a PHP library designed to retrieve and manage currency exchange rates from multiple providers through a unified and extensible interface. It acts as an abstraction layer over various exchange rate APIs such as Fixer, currencylayer, and European Central Bank data sources, allowing developers to switch providers or combine them without changing application logic. The library supports both real-time and historical exchange rates, making it suitable for financial applications that require accurate and time-sensitive data. One of its key strengths is its ability to define fallback providers, ensuring reliability even if a primary data source fails. Swap also includes optional caching mechanisms to reduce API calls and improve performance in production environments. It integrates seamlessly with frameworks like Symfony and Laravel, making it easy to incorporate into existing PHP applications.

Features

  • Unified interface for multiple exchange rate providers
  • Support for real-time and historical currency data
  • Fallback provider system for reliability
  • Optional caching to improve performance
  • Integration with Symfony and Laravel ecosystems
  • Extensible architecture for adding custom providers

Project Samples

Project Activity

See All Activity >

Categories

Financial, Libraries

License

MIT License

Follow Swap

Swap Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Swap!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Financial Software, PHP Libraries

Registered

2026-03-19