If you’re not familiar with the evolution of Guzzle, the library has basically gotten more professional and less usable with each new version. New layers upon layers of specification-respecting abstractions and rules made Guzzle incredibly difficult to get started with.
Zttp solves just that, by keeping things simple:
Zttp is a simple Guzzle wrapper designed to provide a really pleasant development experience for most common use cases.
$response = Zttp::withHeaders(["Fancy" => "Pants"])->post($url, [ "foo" => "bar", "baz" => "qux", ]); var_dump($response->json());
As per usual:
it depends. Zttp might float your boat, you might need Guzzle itself if you want to do some more advanced things.