php-http/vcr-plugin
A PHP-HTTP plugin that records real HTTP interactions and replays them in tests, similar to Ruby's VCR. Drop it into any HTTPlug-compatible client to capture responses once, then run fast, deterministic, offline test suites without hitting external APIs.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-vcr/vcr-bundle | 0.87 | Symfony integration for PHP-VCR that records real HTTP interactions and replays them in your test suite. Configure cassettes, hooks and fixtures to keep functional tests fast, deterministic and offline without changing your HTTP client code. | 13 | 13 | 10 | 0 | 4 | 10.3 | 0.8 | — | 6 months ago | |
| liip/soap-recorder-bundle | 0.87 | A Symfony bundle that records SOAP requests and responses and replays them in your test suite, letting integration tests run against realistic SOAP traffic without calling live services. Useful for stable, repeatable PHPUnit tests. | 12 | 12 | 4 | 0 | 1 | 0.1 | — | MIT | — | |
| php-vcr/php-vcr | 0.86 | PHP-VCR records your test suite’s HTTP interactions and replays them in future runs for fast, deterministic tests. Works with common PHP HTTP clients, configurable request matching, cassette-based fixtures, YAML/JSON storage, and PHPUnit support. | 1,220 | 1,221 | 214 | 84K | 8 | 43.6 | 38.9 | MIT | 3 months ago | |
| php-vcr/phpunit-testlistener-vcr | 0.86 | PHPUnit TestListener integrating PHP-VCR via @vcr annotations. Automatically turns VCR on/off per test and records/replays HTTP interactions using named cassettes. Install with Composer and register the listener in phpunit.xml. | 61 | 61 | 47 | 6K | 3 | 6.1 | 29.2 | MIT | 2 years ago | |
| covergenius/php-vcr | 0.85 | PHP VCR for recording and replaying HTTP interactions during tests. Stores “cassettes” of requests/responses to make suites fast, deterministic, and offline-friendly. Useful for mocking third-party APIs without brittle stubs. | 1 | 1 | 3 | 1K | 0 | 22.0 | 46.3 | MIT | 3 months ago | |
| contentful/contentful | 0.85 | Official PHP client for Contentful’s Content Delivery and Preview APIs. Fetch entries, assets, and content types from your spaces with a typed SDK, caching and link resolution options, and easy integration into PHP applications and frameworks. | 119 | 120 | 66 | 101K | 6 | 13.9 | 44.3 | MIT | 1 year ago | |
| garethp/http-playback | 0.85 | Record real HTTP responses once, then replay them deterministically in your PHP tests. GarethP's HTTP Playback makes it easy to capture and reuse external API interactions, keeping test suites fast, reliable, and free of network flakiness. | 7 | 7 | 4 | 18K | 1 | 0.4 | 46.2 | MIT | 5 years ago | |
| allejo/php-vcr-sanitizer | 0.84 | Sanitize sensitive data in php-vcr cassettes. Configure hostname masking, header and query param removal, and custom scrubbers for request/response bodies and POST fields. Enable per test run and disable when needed to keep fixtures safe for version control. | 14 | 14 | 5 | 46K | 0 | 4.4 | 48.2 | MIT | 3 years ago | |
| covergenius/phpunit-testlistener-vcr | 0.84 | PHPUnit test listener that records and replays HTTP interactions using a VCR-style approach. Capture real API responses into cassettes during tests, then replay them for fast, deterministic runs without hitting external services. | 3 | 3 | 2 | 1K | 0 | 2.5 | 34.6 | MIT | 1 year ago | |
| guzzle/plugin-mock | 0.84 | guzzle/plugin-mock provides a mock plugin for Guzzle, letting you queue predefined responses and simulate HTTP requests during testing. Useful for isolating API clients, reproducing edge cases, and running fast, reliable unit tests without real network calls. | 3 | 3 | 0 | 586 | 0 | 0.0 | 30.0 | — | — | |
| psr-mock/http-client-implementation | 0.84 | Tiny PSR-18 HTTP client implementation intended for mocking and testing. Provides a simple client you can plug into PSR-7/PSR-17 workflows to return predefined responses without real network calls. | 1 | 1 | 0 | 3K | 0 | 0.6 | 44.8 | MIT | 2 years ago | |
| php-http/mock-client | 0.84 | Mock HTTP client for HTTPlug/PHP-HTTP. Stores outgoing requests and returns queued responses or throws exceptions instead of making real network calls—ideal for unit tests of HTTP-dependent code. Install via Composer as a dev dependency. | 71 | 75 | 16 | 266K | 0 | 6.0 | 49.3 | MIT | 2 years ago | |
| psr-mock/http | 0.84 | psr-mock/http is a tiny PHP package for mocking PSR-7 HTTP messages in tests. Create predictable request/response objects without a full HTTP client, helping you unit test middleware, clients, and services with minimal setup. | 1 | 1 | 0 | 1K | 0 | 0.6 | 39.5 | MIT | 2 years ago | |
| php-http/client-integration-tests | 0.84 | Integration test suite for PHP HTTP clients and adapters. Provides a shared test server and PHPUnit testsuite so you can verify that your client correctly implements the PSR-18 and HTTPlug contracts against real HTTP requests. | 16 | 17 | 10 | 555 | 1 | 19.6 | 23.7 | MIT | 4 months ago | |
| php-http/psr7-integration-tests | 0.83 | A PHPUnit-based integration test suite for PSR-7 HTTP message implementations. It verifies requests, responses, streams, URIs, and headers against the PSR-7 specification, helping libraries like Guzzle, Laminas, Slim, and Nyholm ensure compliance. | 41 | 42 | 23 | 3K | 1 | 22.8 | 30.1 | MIT | 2 weeks ago | |
| beemlabs/beem-php | 0.83 | beemlabs/beem-php is a PHP client for the Beem Africa API, making it easy to send SMS, manage contacts, and integrate messaging features into your Laravel or PHP applications through a simple, expressive wrapper. | 0 | 0 | 0 | 0 | 0 | 15.1 | — | MIT | 3 months ago | |
| http-interop/http-factory-tests | 0.82 | Unit tests for HTTP Factory implementations. Add test suite config to phpunit.xml and define factory class constants, then validate your PSR-17 request, response, server request, stream, uploaded file, and URI factories. | 11 | 12 | 8 | 20K | 0 | 20.1 | 51.7 | MIT | 1 month ago | |
| spatie/flare-client-php | 0.82 | The PHP client for Flare: capture errors, exceptions, and traces from PHP 8.2+ apps and send them to Flare for debugging. Works standalone or with Laravel via laravel-flare. | 178 | 178 | 25 | 8M | 0 | 35.3 | 66.4 | MIT | 18 hours ago | |
| php-http/client-common | 0.82 | Common utilities for HTTPlug HTTP clients: a BatchClient for parallel requests, a convenience client exposing HTTP verbs as methods, and emulator/decorator layers for sync and async clients. Designed to simplify client composition and tooling. | 1,051 | 1,054 | 55 | 6M | 13 | 22.1 | 57.6 | MIT | 11 months ago |
How can I help you explore Laravel packages today?