boson-php/http
Lightweight HTTP client utilities for PHP. Provides simple request/response handling with a focus on clear, minimal APIs suitable for small services, scripts, and internal tools. Designed to keep dependencies low while staying easy to extend and integrate.
curl/file_get_contents calls with a maintainable, feature-rich HTTP layer.boson-php/boson).For Executives: "This package lets us standardize how our services talk to each other and external APIs—reducing bugs from inconsistent HTTP calls and making it easier to add features like retries or caching later. It’s like a ‘Swagger for PHP HTTP,’ but lightweight. Since it’s MIT-licensed and aligns with our Laravel stack, we avoid vendor lock-in while cutting dev time on boilerplate code."
For Engineering: *"boson-php/http gives us a PSR-compliant, middleware-friendly HTTP client without the Guzzle bloat. Key wins:
For Developers:
*"Imagine never writing curl or file_get_contents again. This package handles:
$client = new HttpClient(['base_uri' => 'https://api.example.com']);
$response = $client->get('/users', [
'headers' => ['Authorization' => 'Bearer ...'],
'timeout' => 5,
]);
Downside: Tiny community, but the code is simple to debug. Want to test it on [Use Case Z]?"*
How can I help you explore Laravel packages today?