astrotomic/laravel-guzzle
A lightweight Laravel integration for the Guzzle HTTP client. Configure Guzzle clients through Laravel's config and service container, resolve them via dependency injection, and make outbound HTTP requests with a familiar, framework-native setup.
config/guzzle.php and inject them via the container/facade. The PM decision it supports is "stop hand-rolling a Http::-alternative wrapper class per service" — adopt a shared, config-driven convention instead.new Client([...]) scattered across jobs and controllers.MockHandler via the container rather than making real network calls — a direct reduction in flaky CI and a prerequisite for contract tests against vendor sandboxes.illuminate/support constraint; there are no new features, no breaking changes, and no deprecations. That makes this a low-risk, low-cost upgrade that keeps the dependency inside your supported PHP/Laravel matrix — the PM action is "schedule it in the next maintenance window," not "plan a migration."Adopt when:
Look elsewhere when:
Illuminate\Support\Facades\Http already covers config-driven clients, retries, fakes (Http::fake()), and per-client macros — this package becomes redundant weight and an extra supply-chain surface. This is the dominant reason to say no.Adoption criteria checklist: pin to ^2.4, verify your PHP/Laravel matrix is inside the widened constraint, confirm the maintainer is responsive enough for your risk tolerance, and wrap the facade behind your own interface so a future swap to Http:: is a one-file change.
For executives (one paragraph): We're standardizing how our Laravel services talk to third-party APIs. This package is a small, low-risk adapter that moves outbound HTTP configuration — endpoints, credentials, timeouts — out of application code and into reviewed configuration, which improves auditability of vendor credentials and cuts the engineering time spent re-implementing the same HTTP wrapper per service. Version 2.4.0 contains no functional or breaking changes; it adds PHP 8.1 compatibility and refreshes dependencies. It is a routine maintenance upgrade, not an investment. Because the package is small and lightly maintained, it's cheap to adopt and cheap to remove — we'll isolate it behind our own interface so we retain the option to migrate to Laravel's built-in HTTP client with a single change.
For engineering (summary): 2.4.0 = PHP 8.1 support + illuminate/support bump + CI/dependency housekeeping. Zero breaking changes, zero new features, zero deprecations. Upgrading is a composer update with no code changes expected; the meaningful diligence is confirming your PHP/Laravel support matrix now lands inside the widened illuminate/support constraint. Note the release is overwhelmingly Dependabot-driven with a single primary maintainer — budget an hour to read the diff, pin ^2.4, and wrap the facade behind an internal client factory/interface so a future Http::client() migration is contained. If the service is already on Laravel 10+, recommend not adopting and using the first-party HTTP client instead.
How can I help you explore Laravel packages today?