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

php-vcr/php-vcr

Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests. observed · 2026-08-28

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

Health v2 · maintenance only

98/100

  • Activity 98
  • Release rhythm 96
  • 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: 2.0
  • age_days: 4945
  • days_rel: 28
  • days_push: 17
  • n_releases_24m: 13

Full methodology

Adoption not part of the score

1209 stars · 215 forks observed · 2026-08-28

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

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.

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

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

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

Facets

library · maturity active

testing mocking http-client testing developer-tools apis php cli http-mocking vcr cassettes phpunit record-and-replay guzzle soap deterministic-tests

2 sources

Member repositories

RepositoryRoleHealth v2
php-vcr/php-vcrmain98

For agents

markdown · JSON · MCP: product_card(name="php-vcr/php-vcr")

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