PHPackages                             kittinan/php-http - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. kittinan/php-http

ActiveLibrary[HTTP &amp; Networking](/categories/http)

kittinan/php-http
=================

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

1.0.2(10y ago)2915MITPHPPHP &gt;=5

Since Apr 23Pushed 10y ago1 watchersCompare

[ Source](https://github.com/kittinan/php-http)[ Packagist](https://packagist.org/packages/kittinan/php-http)[ RSS](/packages/kittinan-php-http/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

php-http
========

[](#php-http)

[![Build Status](https://camo.githubusercontent.com/03a49b1207c7c9676e7889a25ca33c2f4123a4a8d755b9a979e4e64147a17d0b/68747470733a2f2f7472617669732d63692e6f72672f6b697474696e616e2f7068702d687474702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kittinan/php-http)[![Code Coverage](https://camo.githubusercontent.com/f1264113e66eee05ba31ef3d90bd6822e53bb43b77a3107c2d31cea2711b6900/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b697474696e616e2f7068702d687474702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kittinan/php-http/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e1e92849c1dc9c5110f477b5c507edf73db94b4a819d74f8095ef335538d59dc/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b697474696e616e2f7068702d687474702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kittinan/php-http/?branch=master)[![License](https://camo.githubusercontent.com/4d9a767d4680ca0fee6c40aff55d194f6bf27d88d37f4383f8bd2c6ac266f13e/68747470733a2f2f706f7365722e707567782e6f72672f6b697474696e616e2f7068702d687474702f6c6963656e73652e737667)](https://packagist.org/packages/kittinan/php-http)

simple php http wrapper with php-curl

Support :

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

Requirement
-----------

[](#requirement)

- PHP 5+
- php5-curl

Composer
--------

[](#composer)

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

This plugin on the Packagist.

Usage
-----

[](#usage)

*Example : HTTP GET*

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

License
=======

[](#license)

The MIT License (MIT)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~218 days

Total

3

Last Release

3654d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7c68d4c6287f5b2294a1dfd2154d61b8a6f3ffed3326b16893b5eb547f655dc?d=identicon)[kittinan](/maintainers/kittinan)

---

Top Contributors

[![kittinan](https://avatars.githubusercontent.com/u/144775?v=4)](https://github.com/kittinan "kittinan (25 commits)")

### Embed Badge

![Health badge](/badges/kittinan-php-http/health.svg)

```
[![Health](https://phpackages.com/badges/kittinan-php-http/health.svg)](https://phpackages.com/packages/kittinan-php-http)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
