PHPackages                             phore/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. [HTTP &amp; Networking](/categories/http)
4. /
5. phore/http-client

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

phore/http-client
=================

Http client library for fast api access

v1.0.9(2y ago)19.3k—3.8%5MITPHPPHP &gt;=7.1

Since Dec 5Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/phore/phore-http-client)[ Packagist](https://packagist.org/packages/phore/http-client)[ Docs](https://infracamp.org/phore/)[ RSS](/packages/phore-http-client/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (8)Dependencies (5)Versions (13)Used By (5)

Phore http-client
=================

[](#phore-http-client)

[![Actions Status](https://github.com/phore/phore-http-client/workflows/tests/badge.svg)](https://github.com/phore/phore-http-client/actions)

Easy to use http-client with fluent api.

Example
-------

[](#example)

```
$response = phore_http_request("http://localhost/test.php?case=200")
    ->send();

echo $response->getBody();
```

More executable examples are available in [`examples/`](examples/).

Request caching
---------------

[](#request-caching)

Request Caching requires `phore/cache` package to be installed

```
$cache = new Cache(new ObjectStore(new FileSystemObjectStoreDriver("/tmp/cache1")));

$req = phore_http_request("http://localhost/")->withCache($cache)->send();
if ($req->isFromCache() === true)
    echo "From Cache: " . $req->getBody();

```

Examples: see [`examples/`](examples/) and [`examples/README.md`](examples/README.md).

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance57

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 94.6% 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 ~152 days

Recently: every ~70 days

Total

10

Last Release

930d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/878a384d056698a2400e4b7c8858db05a6caebb2c560e67151be36d46d58def0?d=identicon)[dermatthes](/maintainers/dermatthes)

---

Top Contributors

[![dermatthes](https://avatars.githubusercontent.com/u/13380559?v=4)](https://github.com/dermatthes "dermatthes (105 commits)")[![mikoma](https://avatars.githubusercontent.com/u/2332359?v=4)](https://github.com/mikoma "mikoma (6 commits)")

---

Tags

Keyword1Keyword2

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25026.8M85](/packages/php-http-cache-plugin)[httpsoft/http-message

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

85997.3k131](/packages/httpsoft-http-message)[thesis/nats

Async (fiber based) client for Nats.

758.3k](/packages/thesis-nats)

PHPackages © 2026

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