Ross ROSS = Recommend OSS · open-source software intelligence for agents

florianv/swap

PHP currency conversion library for retrieving exchange rates from 30 providers, with caching and fallback. Maintained since 2014. observed · 2026-08-28

github.com/florianv/swap · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 88
  • Release rhythm 74
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 0
  • age_days: 4499
  • days_rel: 177
  • days_push: 77
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

1339 stars · 146 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Swap is a PHP library for currency conversion and exchange rate retrieval, exposing 30+ rate providers behind a single API. It includes PSR-16 caching, historical rates, and a provider fallback chain, and has been maintained since 2014.

Use cases

  • convert EUR to USD in a PHP application
  • get current exchange rates from multiple providers
  • fetch historical exchange rates for a date
  • build resilient currency conversion with provider fallback
  • cache exchange rate lookups in PHP
  • integrate exchange rates into a Laravel or Symfony app
  • use free ECB or national bank rate sources

When to choose

  • you need exchange rates in PHP from many providers behind one interface
  • you want caching and provider fallback built in
  • you need historical as well as latest rates
  • you want to avoid vendor lock-in to a single rate API

When to avoid

  • you need real-time forex trading tick data
  • your stack is not PHP
  • you need cryptocurrency-only rate conversion without fiat support

Facets

library · maturity stable

sdk caching http-client fintech apis developer-tools php currency-conversion exchange-rates forex psr-16 provider-fallback historical-rates laravel symfony

2 sources

Member repositories

RepositoryRoleHealth v2
florianv/swapmain86

For agents

markdown · JSON · MCP: product_card(name="florianv/swap")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem