kittinan/php-http

php-http is a simple HTTP class with php5-curl

Installs: 905

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/kittinan/php-http

1.0.2 2016-07-02 05:10 UTC

This package is auto-updated.

Last update: 2025-10-19 23:54:58 UTC


README

Build Status Code Coverage Scrutinizer Code Quality License

simple php http wrapper with php-curl

Support :

  • HTTP Method GET, POST
  • Download File
  • Support Cookie with cookiejar file

Requirement

  • PHP 5+
  • php5-curl

Composer

Install the latest version with composer require kittinan/php-http

This plugin on the Packagist.

https://packagist.org/packages/kittinan/php-http

Usage

Example : HTTP GET

$http = new \KS\HTTP\HTTP();
$url = 'https://github.com/kittinan/php-http';
$html = $http->get($url);
echo $html;

License

The MIT License (MIT)