PHPackages                             tanchengjin/curl - 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. tanchengjin/curl

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

tanchengjin/curl
================

php curl operation

v2.0.0(6y ago)3121MITPHPPHP &gt;=5.6

Since Feb 24Pushed 6y agoCompare

[ Source](https://github.com/tanchengjin/curl)[ Packagist](https://packagist.org/packages/tanchengjin/curl)[ RSS](/packages/tanchengjin-curl/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

php Curl
========

[](#php-curl)

### install 安装

[](#install-安装)

composer

```
composer require tanchengjin/curl

```

### using 使用

[](#using-使用)

```
TanChengjin\Curl\Curl::request($url, $https = false, $post = false, array $data = []);

```

chain 链式方法

```
$curl=new TanChengjin\Curl\Curl();

#get
$curl->setUrl(url)->setHttps()->get();
or
$curl->get(url,$https=true);

#post
$curl->setUrl(url)->setHttps()->post();
or
$curl->post(url,true,[postData]);

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

3

Last Release

2215d ago

Major Versions

v1.0.1 → v2.0.02020-04-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/427ce3bcd37141f3e0dc014a15296fbe72f1ce86973d0e74871ebd3974feeb32?d=identicon)[349508017](/maintainers/349508017)

---

Top Contributors

[![tanchengjin](https://avatars.githubusercontent.com/u/23292237?v=4)](https://github.com/tanchengjin "tanchengjin (5 commits)")

### Embed Badge

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

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

###  Alternatives

[friendsofsymfony/rest-bundle

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

2.8k73.3M318](/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.8M292](/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)
