A developer-experience focused HTTP client, optimized for most common use cases.
Switch branches/tags
Clone or download
adamwathan Merge pull request #60 from kitetail/add-configure-method-to-pending-…

Add ability to set configuration all at once
Latest commit 3875188 Mar 11, 2018



Zttp is a simple Guzzle wrapper designed to provide a really pleasant development experience for most common use cases.

If you need more functionality, just use Guzzle :)

Real documentation is in the works, but for now read the tests.

$response = Zttp::withHeaders(['Fancy' => 'Pants'])->post($url, [
    'foo' => 'bar',
    'baz' => 'qux',

// => [
//  'whatever' => 'was returned',
// ];


composer require kitetail/zttp