2017 © Pedro Peláez
 

library zttp

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

image

soyhuce/zttp

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

  • Monday, October 2, 2017
  • by bastien-phi
  • Repository
  • 2 Watchers
  • 1 Stars
  • 778 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 62 Forks
  • 0 Open issues
  • 8 Versions
  • 95 % Grown

The README.md

Zttp

** This package is archived in favor of illuminate/http or the original kitetail/zttp **, (*1)

Important disclaimer :, (*2)

This package is a fork of kitetail/zttp for those who love PSR-2 and type-hinting. All credit must go to its authors, they did an amazing work., (*3)

Feel free to contribute and integrate changes from original repository to this one., (*4)

end of disclaimer, (*5)

Intallation

Simply run composer require soyhuce/zttp. That's all., (*6)

Documentation

From kitetail/zttp, (*7)

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

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

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

$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, (*11)

The Versions

02/10 2017

dev-develop

dev-develop

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bastien Philippe

http guzzle

02/10 2017

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 Bastien Philippe

http guzzle

02/10 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 Bastien Philippe

http guzzle

04/08 2017

v0.2.1

0.2.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bastien Philippe

http guzzle

04/08 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 Bastien Philippe

http guzzle

06/07 2017

0.1.2

0.1.2.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bastien Philippe

http guzzle

02/06 2017

0.1.1

0.1.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Bastien Philippe

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