2017 © Pedro Peláez
 

library http

Openprovider Http Service

image

openprovider/http

Openprovider Http Service

  • Monday, April 23, 2018
  • by CSharpRU
  • Repository
  • 8 Watchers
  • 3 Stars
  • 2,160 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 10 Versions
  • 2 % Grown

The README.md

Openprovider HTTP Library

Build Status, (*1)

A simple HTTP PHP library based on Curl, which helps to create HTTP request and get convenient response., (*2)

Current version

1.0.11, (*3)

Examples

use \Openprovider\Service\Http\Request;
use \Openprovider\Service\Http\Response;

$response = Request::get('google.com')->execute();
$status = $response->getHttpStatusCode();
if ($response->isSuccess) {
    $cookie = $response->getCookie();
    $header = $response->getHeader();
    $data = $response->getData();
} else {
    print_r($response->getErrorCode() . ': ' . $response->getErrorDescription());
}
use \Openprovider\Service\Http\Request;
use \Openprovider\Service\Http\Response;

$request = new Request('website.com');
$response = $request->setFollowLocation(false)
    ->setMethod(Request::POST)
    ->setTimeout(10)
    ->setCookie('PREF=ID; Name=Noname')
    ->execute();

Authors

Igor Dolzhikov, (*4)

Contributors

All the contributors are welcome. If you would like to be the contributor please accept some rules. - The pull requests will be accepted only in "develop" branch - All modifications or additions should be tested, (*5)

Thank you for your understanding!, (*6)

License

MIT Public License, (*7)

The Versions

23/04 2018

dev-master

9999999-dev http://openprovider.eu

Openprovider Http Service

  Sources   Download

MIT

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

23/04 2018

1.0.7

1.0.7.0 http://openprovider.eu

Openprovider Http Service

  Sources   Download

MIT

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

23/04 2018

dev-develop

dev-develop http://openprovider.eu

Openprovider Http Service

  Sources   Download

MIT

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

29/12 2015

1.0.6

1.0.6.0 http://openprovider.eu

Openprovider Http Service

  Sources   Download

MIT

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

29/12 2015

1.0.5

1.0.5.0 http://openprovider.eu

Openprovider Http Service

  Sources   Download

MIT

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

29/12 2015

1.0.4

1.0.4.0 http://openprovider.eu

Openprovider Http Service

  Sources   Download

MIT

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

29/12 2015

1.0.3

1.0.3.0 http://openprovider.eu

Openprovider Http Service

  Sources   Download

MIT

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

29/12 2015

1.0.2

1.0.2.0 http://openprovider.eu

Openprovider Http Service

  Sources   Download

MIT

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

17/12 2015

1.0.1

1.0.1.0

Openprovider Http Service

  Sources   Download

The Requires

  • php >=5.4.37

 

The Development Requires

by Openprovider

01/08 2015

1.0.0

1.0.0.0

Openprovider Http Service

  Sources   Download

The Requires

  • php >=5.4.37
  • openprovider/helper *

 

The Development Requires

by Openprovider