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 yesterday

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 32% 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

854d 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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