2017 © Pedro Peláez
 

package curl

PHP Lightweight HTTP Request Client Libraries

image

o2system/curl

PHP Lightweight HTTP Request Client Libraries

  • Thursday, July 19, 2018
  • by o2system
  • Repository
  • 3 Watchers
  • 0 Stars
  • 648 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 18 % Grown

The README.md

alt text, (*1)

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

O2System Curl

O2System Curl is a PHP Lightweight HTTP Request Client Library which is build for working more powerful with O2System Framework, but also can be used for integrated with others as standalone version with limited features., (*3)

Features

  • Utility methods to call GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH requests.
  • Supports form parameters, file uploads and custom body entities.
  • Supports gzip compression.
  • Supports Basic, Digest, Negotiate, NTLM Authentication natively.
  • Customizable timeout.
  • Customizable default headers for every request (DRY).
  • Automatic response parsing for JSON, XML, HTML and PHP Serialize Parsing into a native object.
  • Multiple request support.

Composer Instalation

The best way to install O2System Curl is to use Composer, (*4)

composer require o2system/curl

Packagist: https://packagist.org/packages/o2system/curl, (*5)

Usage

use O2System\Curl;
use O2System\Kernel\Http\Message\Uri;

// Single Request
$request = new Curl\Request();
$request->setUri( new Uri() )->withHost( 'api.o2system.id' )->withPath( 'testing');

// Multi Request
$multirequest = new Curl\MultiRequest();
$multirequest->register( $request );

// Get single response
$response = $request->get();

// Get multiple responses
$responses = $multirequest->get();

Documentation is available on this repository wiki or visit this repository github page., (*6)

Ideas and Suggestions

Please kindly mail us at hello@o2system.id, (*7)

Bugs and Issues

Please kindly submit your issues at Github so we can track all the issues along development and send a pull request to this repository., (*8)

System Requirements

The Versions

19/07 2018

dev-master

9999999-dev

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

19/07 2018

v2.1.18

2.1.18.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

08/06 2018

v2.1.17

2.1.17.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

29/05 2018

v2.1.16

2.1.16.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

04/05 2018

v2.1.5

2.1.5.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

27/02 2018

v2.1.4

2.1.4.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

10/01 2018

v2.1.3

2.1.3.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

29/12 2017

v2.1.2

2.1.2.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

08/11 2017

v2.1.1

2.1.1.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

16/08 2017

v2.1.0

2.1.0.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries

03/08 2017

v2.0.0

2.0.0.0

PHP Lightweight HTTP Request Client Libraries

  Sources   Download

MIT

The Requires

 

framework php driver utilities libraries