{"adoption": {"forks": 215, "observed_at": "2026-08-28T04:03:59.772477+00:00", "stars": 1209}, "canonical_url": "https://ross.abutalabs.com/products/php-vcr", "card": {"archived": false, "artifact_type": "library", "description": "Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.", "domain": ["testing", "developer-tools", "apis"], "enriched": true, "function": ["testing", "mocking", "http-client"], "health_score": 99, "homepage": "http://php-vcr.github.io", "language": "PHP", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["php-vcr/php-vcr"], "name": "php-vcr/php-vcr", "platform": ["php", "cli"], "pushed_at": "2026-08-16T11:52:34+00:00", "repo": "php-vcr/php-vcr", "stars": 1209, "tags": ["http-mocking", "vcr", "cassettes", "phpunit", "record-and-replay", "guzzle", "soap", "deterministic-tests"], "topics": ["php-vcr", "php", "accurate-tests", "replay", "phpunit", "api-test", "api-testing", "vcr", "deterministic", "test-automation", "test-webservices", "webservice", "webservices", "guzzle-services", "guzzle-test", "soap-test", "soap-api", "soap-api-test", "rest-test", "restful-test"], "urls": [], "use_cases": ["record and replay http interactions in php tests", "make phpunit tests deterministic without live api calls", "mock soap api responses in tests", "test rest clients offline", "speed up test suite by avoiding real http requests", "configure request matching for recorded http responses"], "what_it_is": "PHP-VCR is a PHP port of Ruby's VCR library that records a test suite's HTTP interactions to cassette files and replays them in future test runs. It intercepts requests from common PHP HTTP clients (curl, streams, SoapClient, Guzzle) to make tests fast, deterministic, and offline-capable.", "when_to_avoid": ["you need monkey-patch-free mocking in a language other than PHP", "you only test code that never makes HTTP requests", "you prefer modern contract-testing or mock-server approaches over recorded cassettes"], "when_to_choose": ["your PHP tests hit external HTTP APIs and you want fast, repeatable runs", "you need recorded fixtures for Guzzle, curl, or SoapClient interactions", "you want configurable request matching and record modes like Ruby's VCR"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/php-vcr", "repo": "php-vcr/php-vcr", "role": "main", "score": 98}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "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:03:59.772477+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:59.772477+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:18:36.385239+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d4b436329d3f101707d235f374449a1c72d1148cc02a6445bb3ed6fec87c91f1", "fetched_at": "2026-08-28T04:03:59.772477+00:00", "kind": "readme", "missing": false, "url": "https://github.com/php-vcr/php-vcr"}, {"content_hash": "e9126fb6bab54b2b141998218df1bb4500bd1d87a7e24efdd94b1cb23192ad84", "fetched_at": "2026-08-29T12:26:21.425700+00:00", "kind": "homepage", "missing": false, "url": "http://php-vcr.github.io"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 96}, "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": 4945, "days_push": 17, "days_rel": 28, "gap_med": 2.0, "n_releases_24m": 13}, "score": 98, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}