2017 © Pedro Peláez
 

library http-client

A wrapper of libcurl that implements PSR-7 HTTP message interface.

image

jorge-matricali/http-client

A wrapper of libcurl that implements PSR-7 HTTP message interface.

  • Friday, July 20, 2018
  • by jorge-matricali
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 500 % Grown

The README.md

Latest stable release Build Status Coverage Status MIT licensed GitHub contributors, (*1)

PSR-7 HTTP Client (cURL)

Note that this is not an HTTP protocol implementation of its own. It is merely a wrapper of libcurl that implements PSR-7 HTTP message interface., (*2)

Requirements

Installation

composer require matricali/http-client

Usage

Sending GET request
use Matricali\Http\Client;

$client = new Client();
$response = $client->get('http://www.example.com/');

echo $response->getBody();
Sending POST request
use Matricali\Http\Client;

$client = new Client();
$payload = '{"name": "John Doe"}';
$response = $client->post('http://www.example.com/', $payload);

echo $response->getBody();

Contributing

Contributions, issues, pull requests are welcome. See CONTRIBUTING.md, (*3)

License

php-http-client is MIT licensed., (*4)

The Versions

20/07 2018

dev-master

9999999-dev

A wrapper of libcurl that implements PSR-7 HTTP message interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gabriel Polverini

curl http wrapper psr7 client

20/07 2018

1.0.0-alpha3

1.0.0.0-alpha3

A wrapper of libcurl that implements PSR-7 HTTP message interface.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gabriel Polverini

curl http wrapper psr7 client

17/07 2018

1.0.0-alpha2

1.0.0.0-alpha2

Hola

  Sources   Download

MIT

The Requires

 

The Development Requires

curl http wrapper psr7 client

08/02 2018

1.0.0-alpha

1.0.0.0-alpha

Hola

  Sources   Download

MIT

The Requires

 

The Development Requires

curl http wrapper psr7 client

08/02 2018

1.0.0-alpha1

1.0.0.0-alpha1

Hola

  Sources   Download

MIT

The Requires

 

The Development Requires

curl http wrapper psr7 client