weblabel/http-client-bundle
Weblabel HTTP Client Bundle provides a configurable HTTP client integration for PHP applications, with service wiring and sensible defaults for outbound API requests. It centralizes client configuration and simplifies setup for projects needing a lightweight, reusable HTTP layer.
http-client implementation into Symfony's DI container (service definitions, bundle config, autowiring). It does not add retries, circuit breaking, caching, or observability we couldn't get elsewhere. So the real decision is "do we standardize on weblabel/http-client?" — and if the answer is no, this bundle is irrelevant.new Client() scattered through services.Http facade / Guzzle with config/services.php + a singleton binding. That's a 20-line service provider — the build-vs-buy math never favors pulling in an unmaintained third-party bundle here.Consider it only if all of these hold:
weblabel/http-client for another reason (existing Weblabel estate, vendor mandate).Look elsewhere when:
Http facade / Guzzle with a singleton binding and config/services.php. No third-party needed.symfony/http-client with framework-native framework.http_client.scoped_clients configuration — actively maintained, first-party, and covers the same scoped-client use case this bundle provides.php-http/discovery plus any compliant client gives you the same decoupling with a live ecosystem.symfony/http-client + RetryableHttpClient) or a service mesh.Recommendation: Decline adoption. Log it as a rejected candidate with the rationale "unmaintained, zero adoption, superseded by first-party framework HTTP clients." Revisit only if a Weblabel dependency already forces the underlying client into our stack.
To executives (one paragraph): We evaluated a small open-source add-on that plugs an HTTP client into the Symfony framework. It is a convenience wiring layer, not a capability — it adds no features we don't already get from the frameworks we use. It has no users, no dependents, and no release since December 2021, so adopting it would mean we quietly take on ownership of unmaintained code. Recommendation: do not adopt. We'll use the HTTP clients built into Laravel and Symfony, which are maintained by those projects and already cover the same need. Cost avoided: an indefinite maintenance tail plus a future migration off a dead dependency.
To engineering (the short version): It's a Symfony bundle that registers an http-client service in the container. MIT licensed, so forking is legal, but there's no upstream activity to rely on and nothing here you can't do with framework.http_client.scoped_clients (Symfony) or a one-file service provider around Guzzle (Laravel). If we ever need scoped, per-integration clients: configure them natively, keep the client interface behind our own port, and we retain the option to swap implementations without touching call sites. If someone on the team already depends on weblabel/http-client, vendor the bundle and pin the commit — but don't let it become the standard.
How can I help you explore Laravel packages today?