PHPackages                             localtools/php-http-client - 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. [Framework](/categories/framework)
4. /
5. localtools/php-http-client

ActiveLibrary[Framework](/categories/framework)

localtools/php-http-client
==========================

Human-friendly and powerful HTTP client package for PHP

v0.0.2(1y ago)11.1k2MITPHPPHP ^7.2.5 || ^8.0

Since Dec 18Pushed 1y agoCompare

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

READMEChangelog (2)Dependencies (7)Versions (3)Used By (2)

PhpHttpClient - A Human-friendly and powerful HTTP client package for PHP
=========================================================================

[](#phphttpclient---a-human-friendly-and-powerful-http-client-package-for-php)

This package provides a simple and powerful HTTP client for PHP, built on top of Guzzle. It simplifies the process of making HTTP requests and allows for easy customization of request options.

```
$client = new \PhpHttpClient\Client('https://api.example.com');
$response = $client->get('/endpoint');

echo $response->getStatusCode(); // 200
```

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

[](#installation)

The recommended way to install PhpHttpClient is through [Composer](https://getcomposer.org/).

```
composer require localtools/php-http-client
```

Features
--------

[](#features)

- Fluent interface for building HTTP requests
- Support for various authentication methods (Basic, Digest)
- Easy integration with PSR-7 and PSR-18
- Built on top of Guzzle, leveraging its power and flexibility

Version Guidance
----------------

[](#version-guidance)

VersionStatusPackagistNamespaceRepoDocsPSR-7PHP Version1.xSTABLE`localtools/php-http-client``PhpHttpClient`\[v1\]\[php-http-client-1-repo\]\[v1\]\[php-http-client-1-docs\]Yes&gt;=7.2.5,&lt;8.2

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance47

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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 ~534 days

Total

2

Last Release

393d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45374044?v=4)[Hebert](/maintainers/hebertcisco)[@hebertcisco](https://github.com/hebertcisco)

---

Top Contributors

[![hebertcisco](https://avatars.githubusercontent.com/u/45374044?v=4)](https://github.com/hebertcisco "hebertcisco (3 commits)")

---

Tags

clientcurlframeworkhttphttp-clientpsr-18psr-7resthttppsr-7clientframeworkrestcurlhttp clientweb servicepsr-18

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/guzzle

Guzzle is a PHP HTTP client library

23.5k1.0B35.3k](/packages/guzzlehttp-guzzle)[eightpoints/guzzle-wsse-middleware

WSSE Middleware for Guzzle, a PHP HTTP client library and framework for building RESTful web service clients

312.1M5](/packages/eightpoints-guzzle-wsse-middleware)[gregurco/guzzle-bundle-oauth2-plugin

OAuth2 Plugin for Guzzle Bundle, a PHP HTTP client library and framework for building RESTful web service clients

13360.4k](/packages/gregurco-guzzle-bundle-oauth2-plugin)[gregurco/guzzle-bundle-cache-plugin

Cache Plugin for Guzzle Bundle, a PHP HTTP client library and framework for building RESTful web service clients

11400.9k1](/packages/gregurco-guzzle-bundle-cache-plugin)

PHPackages © 2026

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