Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Guzzle Mock Handler Laravel Package

tomb1n0/guzzle-mock-handler

Lightweight mock handler for Guzzle to fake HTTP responses in tests. Queue responses, simulate status codes, headers, and body content, and inspect requests without making real network calls—useful for unit/integration testing of API clients.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

This package is largely redundant for Laravel projects due to Laravel's built-in HTTP mocking capabilities via Http::fake(), which provides robust, native support for simulating API responses without external dependencies. As a PM, this reinforces the decision to prioritize framework-native solutions over third-party packages for testing infrastructure, reducing technical debt and avoiding maintenance risks associated with low-adoption tools. It also validates the "build vs. buy" strategy for testing utilities—Laravel’s native features are sufficient for 95%+ of HTTP testing scenarios, eliminating the need for additional dependencies.

When to Consider This Package

Avoid this package entirely for Laravel projects. Its extremely low adoption (3 stars, low score) and lack of repository details signal poor maintenance and community support. Laravel’s built-in Http::fake() already handles Guzzle-based mocking seamlessly, making this package unnecessary. Only consider it in non-Laravel Guzzle-only projects where native Laravel tools aren’t applicable, but even then, alternatives like guzzle/guzzle-mock or PHPUnit’s built-in mocking are better-supported options. For Laravel, this package adds no value and introduces risk.

How to Pitch It (Stakeholders)

Executives: "Laravel’s native HTTP mocking tools (e.g., Http::fake()) already provide enterprise-grade testing capabilities without additional dependencies. Adopting

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope