{"adoption": {"forks": 146, "observed_at": "2026-08-28T04:04:25.938962+00:00", "stars": 1339}, "canonical_url": "https://ross.abutalabs.com/products/swap", "card": {"archived": false, "artifact_type": "library", "description": "PHP currency conversion library for retrieving exchange rates from 30 providers, with caching and fallback. Maintained since 2014.", "domain": ["fintech", "apis", "developer-tools"], "enriched": true, "function": ["sdk", "caching", "http-client"], "health_score": 91, "homepage": "https://florianv.github.io/swap/", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["florianv/swap"], "name": "florianv/swap", "platform": ["php"], "pushed_at": "2026-06-17T11:07:48+00:00", "repo": "florianv/swap", "stars": 1339, "tags": ["currency-conversion", "exchange-rates", "forex", "psr-16", "provider-fallback", "historical-rates", "laravel", "symfony"], "topics": ["php", "currency", "exchange-rates", "currency-exchange-rates", "money", "currency-exchange", "currency-converter", "currency-rates", "currency-conversion", "exchange-rate-api", "forex", "forex-api", "laravel", "php-library", "symfony", "currency-conversion-library", "php-currency-conversion"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swap", "repo": "florianv/swap", "role": "main", "score": 86}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:25.938962+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:43:54.486151+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d64ad02ad5a02ebd986a589f23bbd1cfb405581de17fcb6bd8999a40fac4612c", "fetched_at": "2026-08-28T04:04:25.938962+00:00", "kind": "readme", "missing": false, "url": "https://github.com/florianv/swap"}, {"content_hash": "4569cd80e795caea90a4b70af344e2d90edb0bacf6771646fe0ddbfb68a4fa2f", "fetched_at": "2026-08-29T12:02:50.231393+00:00", "kind": "homepage", "missing": false, "url": "https://florianv.github.io/swap/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 88, "longevity": 100, "rhythm": 74}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4499, "days_push": 77, "days_rel": 177, "gap_med": 0, "n_releases_24m": 2}, "score": 86, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}