PHPackages                             huangdijia/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. huangdijia/http-client

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

huangdijia/http-client
======================

HTTP client base curl, like laravel HTTP client

0.1.1(5y ago)25MITPHPPHP &gt;=7.0.0

Since Nov 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/huangdijia/http-client)[ Packagist](https://packagist.org/packages/huangdijia/http-client)[ Docs](https://github.com/huangdijia/http-client)[ RSS](/packages/huangdijia-http-client/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

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

[](#http-client)

[![Latest Version on Packagist](https://camo.githubusercontent.com/91931af4b26f77a4f03fe53e9d257dcba8b0ed2c3c66d905fec4c8ac38f81b4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6875616e6764696a69612f687474702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/huangdijia/http-client)[![Total Downloads](https://camo.githubusercontent.com/9f70c88c243c3ac728cac6eb0fc3afffd7abdefc6c74d1065d1c831c78939e0c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6875616e6764696a69612f687474702d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/huangdijia/http-client)[![GitHub license](https://camo.githubusercontent.com/459cb7373d35d93199de3f02c7e2de38c89f85fc2d5f6d6a645e3177d81c444f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6875616e6764696a69612f687474702d636c69656e74)](https://github.com/huangdijia/http-client)

HTTP client base curl, like laravel HTTP client.

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

[](#installation)

Quick start
-----------

[](#quick-start)

### GET

[](#get)

```
use Huangdijia\Http\Client;

$response = Client::get($url);
```

### POST

[](#post)

```
use Huangdijia\Http\Client;

$response = Client::post($url, $data);
```

### UPLOAD

[](#upload)

```
use Huangdijia\Http\Client;

$response = Client::post($url, ['file' => curl_file_create($fileRealpath)]);
```

### Other uses

[](#other-uses)

[Laravel HTTP Client](https://laravel.com/docs/8.x/http-client)

[Laravel HTTP 客户端](https://learnku.com/docs/laravel/8.x/http-client/9394)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

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

Total

2

Last Release

2013d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8337659?v=4)[Deeka Wong](/maintainers/huangdijia)[@huangdijia](https://github.com/huangdijia)

---

Tags

httpclientcurl

### Embed Badge

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

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

###  Alternatives

[swlib/saber

Swoole coroutine HTTP client

985145.0k27](/packages/swlib-saber)[aplus/http-client

Aplus Framework HTTP Client Library

2161.6M1](/packages/aplus-http-client)

PHPackages © 2026

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