PHPackages                             anqin/httpcurl - 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. anqin/httpcurl

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

anqin/httpcurl
==============

curl class for thinkphp6

1.0.0(6y ago)023[1 issues](https://github.com/Alex-Yuen/HttpCurl/issues)Apache-2.0PHPPHP &gt;=7.3

Since Mar 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Alex-Yuen/HttpCurl)[ Packagist](https://packagist.org/packages/anqin/httpcurl)[ RSS](/packages/anqin-httpcurl/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

httpCurl for ThinkPHP6
======================

[](#httpcurl-for-thinkphp6)

安装
--

[](#安装)

> composer require anqin/httpcurl

使用
--

[](#使用)

该库暂不支持文件提交

> $http = new HttpCurl();
>
> $resp = $http-&gt;get('[https://www.baidu.com')-&gt;exec(](https://www.baidu.com')-%3Eexec());
>
> $resp = $http-&gt;post('[https://www.baidu.com',\['aaa'=&gt;'bbb'\])-&gt;exec(](https://www.baidu.com',%5B'aaa'=%3E'bbb'%5D)-%3Eexec());
>
> $resp-&gt;toString(); //返回字符串
>
> $resp-&gt;toArray(); //返回数组
>
> $resp-&gt;close();//释放内存,防止内存泄漏

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2248d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/26308207c736c17d648bd8245c9667b5a328c7b4942e83645c661f5d4aac16ee?d=identicon)[anqin](/maintainers/anqin)

---

Top Contributors

[![Alex-Yuen](https://avatars.githubusercontent.com/u/5312648?v=4)](https://github.com/Alex-Yuen "Alex-Yuen (1 commits)")

---

Tags

curlthink-extend

### Embed Badge

![Health badge](/badges/anqin-httpcurl/health.svg)

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

###  Alternatives

[rmccue/requests

A HTTP library written in PHP, for human beings.

3.6k34.5M253](/packages/rmccue-requests)[kriswallsmith/buzz

Lightweight HTTP client

2.0k31.3M440](/packages/kriswallsmith-buzz)[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.2M266](/packages/nategood-httpful)[mashape/unirest-php

Unirest PHP

1.3k9.7M160](/packages/mashape-unirest-php)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48247.0M383](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

83510.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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