2017 © Pedro Peláez
 

library saxulum-http-client-interface

Saxulum Http Client Interface

image

saxulum/saxulum-http-client-interface

Saxulum Http Client Interface

  • Friday, April 20, 2018
  • by dominikzogg
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,992 Installations
  • PHP
  • 7 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 18 Versions
  • 3 % Grown

The README.md

saxulum-http-client-interface

Build Status Total Downloads Latest Stable Version Scrutinizer Code Quality, (*1)

Features

  • Provides a simple http client interface
  • Provides a simple request and response object
  • Provides a header converter

Requirements

  • PHP 5.3+

Installation

Through Composer as saxulum/saxulum-http-client-interface., (*2)

Within a library/bundle

``` {.json} { "require": { "saxulum/saxulum-http-client-interface": "~1.0", "saxulum/saxulum-http-client-adapter": "~1.0" } }, (*3)


#### Within a project Replace `saxulum/saxulum-http-client-adapter-buzz` with the adapter you like to use. ``` {.json} { "require": { "saxulum/saxulum-http-client-interface": "~1.0", "saxulum/saxulum-http-client-adapter-buzz": "~1.0" } }

Usage

``` {.php} $httpClient = new MyHttpClientImplementation; $response = $httpClient->request(new Request( '1.1', Request::METHOD_GET, 'http://en.wikipedia.org', array( 'Connection' => 'close', ) ));, (*4)


## Implement To implement this interface, you need a existing http client and write an adapter for it or use an existing one. ``` {.php} <?php namespace Saxulum\HttpClient; interface HttpClientInterface { /** * @param Request $request * @return Response */ public function request(Request $request); }

Add the following to your adapter composer.json, (*5)

{.json} { "provide": { "saxulum/saxulum-http-client-adapter": "1.0" } }, (*6)

Implementations

The Versions

20/04 2018

dev-master

9999999-dev

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3,<8.0

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

04/11 2014

1.5

1.5.0.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

03/11 2014

1.4.1

1.4.1.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

03/11 2014

1.4.0

1.4.0.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

02/11 2014

1.3.0

1.3.0.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

02/11 2014

1.2.5

1.2.5.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

28/10 2014

1.2.4

1.2.4.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

26/10 2014

1.2.3

1.2.3.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

24/10 2014

1.2.2

1.2.2.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

24/10 2014

1.2.1

1.2.1.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

24/10 2014

1.2.0

1.2.0.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

22/10 2014

1.1.1

1.1.1.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

22/10 2014

1.1.0

1.1.0.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

21/10 2014

1.0.1

1.0.1.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

20/10 2014

1.0.0

1.0.0.0

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

20/10 2014

1.0.0-beta3

1.0.0.0-beta3

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

19/10 2014

1.0.0-beta2

1.0.0.0-beta2

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum

19/10 2014

1.0.0-beta1

1.0.0.0-beta1

Saxulum Http Client Interface

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

by Dominik Zogg

http client http-client saxulum