2017 © Pedro Peláez
 

library zttp

A developer-experience focused HTTP client, optimized for most common use cases.

image

kitetail/zttp

A developer-experience focused HTTP client, optimized for most common use cases.

  • Sunday, March 11, 2018
  • by adamwathan
  • Repository
  • 31 Watchers
  • 886 Stars
  • 103,831 Installations
  • PHP
  • 45 Dependents
  • 0 Suggesters
  • 62 Forks
  • 10 Open issues
  • 5 Versions
  • 25 % Grown

The README.md

Zttp

Zttp is a simple Guzzle wrapper designed to provide a really pleasant development experience for most common use cases., (*1)

If you need more functionality, just use Guzzle :), (*2)

Real documentation is in the works, but for now read the tests., (*3)

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

$response->status();
// int

$response->isOk();
// true / false

$response->json();
// => [
//  'whatever' => 'was returned',
// ];

Installation

composer require kitetail/zttp, (*4)

The Versions

11/03 2018

dev-master

9999999-dev

A developer-experience focused HTTP client, optimized for most common use cases.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Wathan

http guzzle

11/03 2018

dev-add-configure-method-to-pending-zttp-response

dev-add-configure-method-to-pending-zttp-response

A developer-experience focused HTTP client, optimized for most common use cases.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Wathan

http guzzle

09/08 2017

v0.3.0

0.3.0.0

A developer-experience focused HTTP client, optimized for most common use cases.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Wathan

http guzzle

20/07 2017

v0.2.0

0.2.0.0

A developer-experience focused HTTP client, optimized for most common use cases.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Wathan

http guzzle

26/05 2017

v0.1.0

0.1.0.0

A super simple HTTP client that seems fine.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Adam Wathan

http guzzle