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(9y ago)2907MITPHPPHP &gt;=5

Since Apr 23Pushed 9y 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 1mo ago

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 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

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

3604d 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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