swlib/saber
Saber is a modern HTTP client for PHP with a clean, chainable API. It streamlines API requests by handling headers, query parameters, JSON bodies, authentication, and response parsing in readable code, so integrations stay concise and maintainable.
Consider Saber only when most of these are true:
Look elsewhere when:
Executive summary: Saber is a specialized coroutine HTTP client for PHP/Swoole that can reduce latency and infrastructure cost for highly concurrent outbound API calls. It is not a general Laravel HTTP client and is not actively maintained, so it should be positioned as a constrained pilot within an existing Swoole/Octane strategy, not a platform-wide standard. Approve only if a benchmark shows meaningful product or cost improvement and engineering accepts ownership of the dependency.
Engineering summary: Evaluate Saber behind an internal HttpClient interface, benchmark it against Laravel’s HTTP client/Guzzle pooling on realistic fan-out workloads, and define exit criteria: compatibility with current PHP/Swoole, timeout/retry behavior, observability, failure isolation, and a replace-or-fork plan. Treat the 2021 release date as a maintenance risk, not an automatic rejection—but require explicit ownership before production use.
How can I help you explore Laravel packages today?