PHPackages                             fps2tao/httplib - 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. fps2tao/httplib

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

fps2tao/httplib
===============

A http request,php请求类库

1.0(8y ago)036mitPHPPHP &gt;=5.2

Since Nov 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/fps2tao/Httplib)[ Packagist](https://packagist.org/packages/fps2tao/httplib)[ RSS](/packages/fps2tao-httplib/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Httplib
=======

[](#httplib)

php的网页请求类，非本人所写，只是为了composer依赖。才放出仓库里的

Composer.josn
-------------

[](#composerjosn)

#### "require": {"fps2tao/httplib": "^1.0"} ---Project

[](#require-fps2taohttplib-10----project)

#### "autoload": {"psr-4": {"Http\\Httplib\\":"vendor/fps2tao/httplib/src/"}} ---library

[](#autoload-psr-4-httphttplibvendorfps2taohttplibsrc-----library)

#### 其实运行了composer require fps2tao/httplib命令上面的不用配置

[](#其实运行了composer-require-fps2taohttplib命令上面的不用配置)

Example
=======

[](#example)

```
$url = "http://www.xx.com";

$http = new \Http\Httplib($url);

$http->send();

$webHtml = $http->response();

echo $webHtml;

...

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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

3151d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13793284?v=4)[fps2tao](/maintainers/fps2tao)[@fps2tao](https://github.com/fps2tao)

---

Top Contributors

[![fps2wang](https://avatars.githubusercontent.com/u/33640663?v=4)](https://github.com/fps2wang "fps2wang (8 commits)")[![fps2tao](https://avatars.githubusercontent.com/u/13793284?v=4)](https://github.com/fps2tao "fps2tao (7 commits)")

### Embed Badge

![Health badge](/badges/fps2tao-httplib/health.svg)

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

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

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/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

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

PHPackages © 2026

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