mj4444/simple-http-client
A lightweight, easy-to-use HTTP client for Laravel and PHP applications. mj4444/simple-http-client provides a straightforward way to make outgoing requests and handle responses, keeping common API calls simple and readable in your code. It aims to reduce boilerplate for common HTTP calls.
Architecture fit
Illuminate\Support\Facades\Http, a Guzzle-backed client with fakes, retries, middleware, pooling, and event integration. Any third-party "simple HTTP client" must justify itself against a zero-cost, first-party, framework-supported alternative.ServiceProvider, facade, config publishing, or extra.laravel.providers auto-discovery. That means manual wiring and coupling to the package's internal API surface.Integration feasibility
composer.json, the namespace, and the request/response objects are read.Http::fake()-equivalent test seams. Adoption would force bespoke mocking in every consuming service.Technical risk
Unlicense is a public-domain dedication, not an OSI-discouraged but familiar MIT/Apache. It carries no warranty disclaimer enforceable in all jurisdictions, no patent grant, and no trademark grant. Legal will likely want a written opinion; that alone can exceed the package's value.>=5.0, *) are common in packages like this and are a guaranteed future breakage vector.mj4444 is a low-signal vendor prefix; verify it does not squat a name your autoloader or a future first-party package will want.Key questions
Http:: / Guzzle does not? Produce a one-page gap analysis or close the ticket.composer.json constraints on php, illuminate/*, and guzzlehttp/guzzle?Stack fit
Http:: with Http::fake() in tests and Http::retry() for resilience.Migration path
eval, no dynamic class loading.HttpClient interface in your domain layer, implement it with Http::, and migrate call sites incrementally behind that interface so the package never appears in application code.Compatibility
composer update time bomb.composer audit, your SBOM generation, and your dependency-review CI gate. A 0-star package will trip most automated policy checks — plan for an exception record or expect the PR to be blocked.Sequencing
Http:: and delete.Maintenance
Support
Scaling
Http:: already solves via a shared Guzzle client.Failure modes
RequestSending/ResponseReceived hooks, no per-call timing in Telescope, no log correlation.composer update months later silently changes HTTP semantics across the fleet.Ramp-up
Http:: in under an hour. Recommend closing this evaluation as "do not adopt" unless the Week 0 gap analysis surfaces a capability the framework genuinely lacks — in which case, vendor the reviewed source into an internal package rather than depending on the upstream repository.How can I help you explore Laravel packages today?