PHPackages                             fabricekabongo/simplehttpclient - 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. fabricekabongo/simplehttpclient

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

fabricekabongo/simplehttpclient
===============================

A very simple Http Client that works on PHP 5.3

v0.3.0(9y ago)0231MITPHP

Since Mar 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/fabricekabongo/simplehttpclient)[ Packagist](https://packagist.org/packages/fabricekabongo/simplehttpclient)[ RSS](/packages/fabricekabongo-simplehttpclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (5)Used By (0)

simplehttpclient
================

[](#simplehttpclient)

A very simple Http Client that works on PHP 5.3

Installation
------------

[](#installation)

To install simply run this :

```
    composer require fabricekabongo/simplehttpclient
```

Usage
-----

[](#usage)

This client offers 3 interfaces:

### Get request

[](#get-request)

without query parameters:

```
$client = new FabriceKabongo\Http\HttpClient();
$responseData = $client->get('http://www.google.com');
```

or with query parameters:

```
$client = new FabriceKabongo\Http\HttpClient();
$responseData = $client->get('http://www.google.com', array('q' => 'tallest falls in africa');//http://www.google.com?q=tallest%20falls%20in%20africa
```

### post Request

[](#post-request)

with post parameters:

```
$client = new FabriceKabongo\Http\HttpClient();
$responseData = $client->post('http://www.myawesomeapi.com', array('foo' => 'bar');
```

### base64 upload

[](#base64-upload)

sends a file using base64 content (think android developers lol):

```
touch myfile.txt && echo "random content" > myfile.txt
```

then:

```
$client = new FabriceKabongo\Http\HttpClient();
try {
    $responseData = $client->base64Upload('http://www.myawesomeapi.com', __DIR__."/myfile.txt");
} catch (\Exception $ex) {
    //log oups
}
```

other informations
------------------

[](#other-informations)

This code need php-curl to be installed (obviously you choose php5.3-curl, php5.6-curl php7.0-curl depending of your version)

License
=======

[](#license)

MIT. you are free dude.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~2 days

Total

4

Last Release

3349d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dbd7abf5ffbc8f7d43972d1f30ddeb1877ba8a205069d2b1f74f6ed4298141c?d=identicon)[fabricekabongo](/maintainers/fabricekabongo)

---

Top Contributors

[![fabricekabongo](https://avatars.githubusercontent.com/u/4486484?v=4)](https://github.com/fabricekabongo "fabricekabongo (6 commits)")[![fabriceparallel](https://avatars.githubusercontent.com/u/20513571?v=4)](https://github.com/fabriceparallel "fabriceparallel (4 commits)")

---

Tags

httphttp-clientphpphp53

### Embed Badge

![Health badge](/badges/fabricekabongo-simplehttpclient/health.svg)

```
[![Health](https://phpackages.com/badges/fabricekabongo-simplehttpclient/health.svg)](https://phpackages.com/packages/fabricekabongo-simplehttpclient)
```

###  Alternatives

[friendsofsymfony/rest-bundle

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

2.8k73.3M315](/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.8M290](/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)
