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
Stop Cyber Threats with VM-Series Next-Gen Firewall on Azure Icon
Stop Cyber Threats with VM-Series Next-Gen Firewall on Azure

Native application identity and user-based security for your Azure cloud

Gain integrated visibility across all traffic in a single pass. Deploy Palo Alto Networks VM-Series to determine application identity and content while automating security policy updates via rich APIs.
Get a free trial
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