Weave 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 Bundle Laravel Package

mapudo/guzzle-bundle

Symfony bundle that integrates the Guzzle HTTP client, providing a configurable service for making HTTP requests, with profiling and easy dependency injection into your applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. adopt (OSS dependency): This package remains a thin DI wrapper that registers parameterized Guzzle clients as Symfony services. The v2.3.0 release adds one ergonomic lever: per-channel loggers for LogMiddleware — useful only if you already run Guzzle's logging middleware across many named clients and want channel-based log routing wired from container config. For most teams the same outcome is still ~30 lines of services.yaml; the release does not change that calculus.
  • Maintenance-risk / version-pinning (updated): The "abandoned since 2019" characterization is now stale — v2.3.0 was published. But a single feature release after a ~4-year gap, with still-low adoption (14 stars, 0 dependents), does not establish sustained maintenance. Treat it as "dormant but revivable": you can now pin a current 2.x line if you already depend on it, but do not read v2.3.0 as evidence of an active roadmap or steady release cadence.
  • Compatibility / upgrade decision: The release notes describe only the LogMiddleware change and state nothing about PHP or Symfony support. Before upgrading a legacy app to v2.3.0, verify composer.json constraints against your PHP 8.x and Symfony version — a 2019-origin bundle is not guaranteed to support Symfony 6/7.
  • Feature-scope decision: Logging-middleware channel configuration now lives inside this bundle. That is a legitimate ergonomic win for Symfony DI users, but it also widens the surface you inherit from an under-maintained dependency; decide explicitly whether log routing belongs in a third-party bundle or in your own service config.
  • Technology-stack fit: Still a Symfony bundle, not a Laravel package — do not put it on a Laravel roadmap. In Laravel, Guzzle arrives transitively and is wrapped by the Http facade; there is no DI gap for this bundle to fill.
  • Not a differentiator: Nothing here touches product capabilities, latency, or user-facing features. It is infrastructure plumbing; PM involvement is limited to maintenance risk (now marginally lower) and licensing (MIT — fine).

When to Consider This Package

Consider only if all of the following hold:

  • The application is Symfony, and you have verified the v2.3.0 composer.json constraints against your PHP and Symfony versions (do not assume Symfony 6/7 support from a 2019-origin bundle).
  • You need multiple named, pre-configured Guzzle clients (per-service base_uri, timeouts, auth, handler stack) injected by service ID rather than hand-written factories.
  • You want LogMiddleware to route to a specific Monolog logger/channel per client — the new v2.3.0 capability — and would otherwise hand-wire that mapping.
  • The bundle is already in composer.json and you are deciding keep-vs-remove during a refactor, where a current 2.x pin is now possible.

Look elsewhere if:

  • You are on Laravel. Use GuzzleHttp\Client bound in a service provider, or the Http facade with Http::baseUrl()->timeout()->withToken(). Zero packages needed.
  • You are on Symfony 5.3+. Use symfony/http-client with native autowiring and scoped clients, or a PSR-18/PSR-17 pair — first-party, maintained, and testable with MockHttpClient.
  • You need maintained Guzzle-bundle ergonomics on modern Symfony. eightpoints/guzzle-bundle is the actively maintained option in this niche.
  • You need retries, circuit breaking, or observability middleware. Compose Guzzle handler stacks yourself; a config-only wrapper will fight you.
  • You need test doubles across the suite. Guzzle's MockHandler / HandlerStack gives you this without a bundle in the way.
  • PHP 8.x is a requirement and the v2.3.0 constraints do not confirm support.
  • You need a reliable release cadence. A single release after long dormancy is a data point, not a track record.

How to Pitch It (Stakeholders)

Executive summary (one paragraph): A community Symfony bundle that wires Guzzle HTTP clients into the DI container, now with a v2.3.0 feature that lets LogMiddleware target a specific logger per channel. It is small, MIT-licensed, and low-adoption (14 stars, zero dependents). The long gap since its 2019 release is no longer absolute — there is a fresh 2.x publish — but one feature release after years of dormancy is not evidence of healthy maintenance, and it still sits on our HTTP egress path where security patches matter. We recommend no-go for new development: it solves a configuration problem we can solve in our own service definitions, and it remains inapplicable to our Laravel services. Exception: a legacy Symfony application already depending on it can now pin a current 2.x while we schedule replacement with Symfony's first-party HttpClient or a maintained alternative.

For engineering: The core value is still ~30 lines of services.yaml, plus the new LogMiddleware channel-injection convenience. Before adopting or upgrading to v2.3.0, confirm PHP 8.x / Symfony version compatibility in composer.json — the release notes are silent on it. The strategic path is unchanged: symfony/http-client scoped clients (or Laravel's Http facade) deliver the same ergonomics with first-party maintenance and a better mocking story.

Ask: Approve a "contain and replace" ticket for legacy usage, pin to v2.3.0 with compatibility verified, and keep new adoptions blocked in the dependency allowlist; no roadmap impact.

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.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle