Skip to main content

php-vcr Documentation

You're in the docs. Full pitch, badges and a 30-second example live in the README — this page is just the map.

📦 Getting StartedInstall, turn VCR on, record your first cassette.
🧭 RequirementsPHP/extension support matrix, tested HTTP libraries.
🔍 How VCR worksThe two interception mechanisms — and why bootstrap order matters.
🎞️ CassettesWhat gets recorded, the file format, identical-request sequencing.
🎬 Record Modesnew_episodes / once / none / all — and when to use which.
🎯 Request MatchingHow php-vcr decides a request "matches" a recording.
🧑‍🍳 How-toPHPUnit · Codeception · Filter sensitive data · Custom matcher · Select hooks · SOAP
📖 ReferenceVCR facade · Configuration · Request matchers · Library hooks · Storage backends · Events · Request/Response
🆙 UpgradingBreaking changes by version.

Contributing to php-vcr, including how to write documentation? See CONTRIBUTING.md.