macpaw/extended_mock_http_client
Extended Mock HTTP Client extends Laravel's HTTP client mocking with convenient helpers for defining fake responses, matching requests, and making assertions in tests. It reduces boilerplate when testing integrations with external APIs and keeps HTTP fakes readable and maintainable.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| psr-mock/http-client-implementation | 0.82 | 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 | |
| macpaw/behat-http-mock-context | 0.82 | A Behat context from MacPaw for mocking HTTP interactions in acceptance tests. Stub external HTTP calls and assert requests/responses so scenarios run reliably without live services or network dependencies. | 4 | 4 | 2 | 1K | 1 | 0.8 | 32.7 | MIT | 2 years ago | |
| mcustiel/phiremock-client | 0.82 | PHP client for Phiremock Server with a fluent API to define HTTP expectations, manage scenarios, and reset server state. Works with Guzzle 6 by default, or any PSR-18 HTTP client by overriding the factory for custom connections. | 16 | 16 | 9 | 11K | 1 | 17.1 | 43.6 | GPL-3.0 | 6 months ago | |
| php-http/mock-client | 0.81 | 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 | |
| noeldemartin/laravel-dusk-mocking | 0.81 | Laravel Dusk Mocking lets you mock classes and services inside Laravel Dusk browser tests, where ordinary mocks can't reach the separate browser process. Register mocks in your test and have them applied in the application, making end-to-end tests faster and more predictable. | 36 | — | 5 | — | 3 | 1.4 | 0.3 | MIT | 11 months ago | |
| donatj/mock-webserver | 0.81 | Lightweight PHP mock web server for tests and local development. Spin up an HTTP server on a random port, enqueue canned responses, inspect received requests, and simulate endpoints reliably. Handy for integration tests without external services. | 141 | 142 | 22 | 72K | 5 | 17.6 | 42.3 | MIT | 8 months ago | |
| blastcloud/guzzler | 0.81 | Guzzler is a lightweight, Laravel-friendly testing helper for Guzzle that lets you fake HTTP requests and assert on what was sent. Define expected requests, return canned responses, and verify methods, URLs, headers, and bodies in your PHP tests without hitting real APIs. | 270 | — | 4 | — | 1 | 1.6 | — | MIT | 1 year ago |
|
| php-http/client-integration-tests | 0.80 | 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 | |
| mcustiel/phiremock-common | 0.80 | Shared utilities for the Phiremock PHP ecosystem. Provides common classes, interfaces, and helpers used across related packages to simplify building and consuming Phiremock client/server components with consistent behavior and minimal duplication. | 3 | 3 | 5 | 13K | 1 | 15.5 | 53.4 | GPL-3.0 | 7 months ago | |
| bneumann/mock-api-bundle | 0.80 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| guzzlehttp/test-server | 0.80 | Guzzle Test Server is a dev-only testing helper that starts a local Node.js HTTP server, letting PHP tests queue responses and inspect received requests for handler and integration tests. | 14 | 14 | 2 | 23K | 0 | 23.4 | 51.4 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?