PHPackages                             cmq2080/curl\_spear - 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. cmq2080/curl\_spear

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

cmq2080/curl\_spear
===================

curl工具类库

v1.1.0(2y ago)0291MITPHPPHP &gt;=5.4.0

Since Mar 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/cmq2080/curl_spear)[ Packagist](https://packagist.org/packages/cmq2080/curl_spear)[ RSS](/packages/cmq2080-curl-spear/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (9)Used By (1)

curl\_spear
===========

[](#curl_spear)

介绍&amp;历史
---------

[](#介绍历史)

curl工具类库，于2021年3月11日正式建立，同日即发布0.0.1版本。 2023年11月23日，进行第一次重构。次日完成重构，并发布1.0.0正式版本。

教程
--

[](#教程)

### Quick Start

[](#quick-start)

```
$client = \cmq2080\curl_spear\Client::instance();

$requestUrl = 'http://www.cmq2080.top/';
$queryParams = ['r' => 'timestamp'];

$client->get($requestUrl, $queryParams);
$resp = $client->getResponse();

print_r($resp->getCode());

if ($resp->isSuccess()) {
    print_r($resp->getContent());
}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Every ~172 days

Recently: every ~256 days

Total

7

Last Release

906d ago

Major Versions

v0.3.0 → v1.0.02023-11-24

PHP version history (2 changes)v0.0.1PHP &gt;=5.6.0

v0.3.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a73fdbd6aa3bd00c5e8339b293d610a520dd7d449fe8f02291f09388442d3ef?d=identicon)[cmq2080](/maintainers/cmq2080)

---

Top Contributors

[![cmq2080](https://avatars.githubusercontent.com/u/35058112?v=4)](https://github.com/cmq2080 "cmq2080 (16 commits)")

### Embed Badge

![Health badge](/badges/cmq2080-curl-spear/health.svg)

```
[![Health](https://phpackages.com/badges/cmq2080-curl-spear/health.svg)](https://phpackages.com/packages/cmq2080-curl-spear)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.8k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

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

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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