PHPackages                             wannanbigpig/supports - 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. wannanbigpig/supports

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

wannanbigpig/supports
=====================

各类基础操作支持

v2.1.0(6y ago)21.9k1MITPHPPHP &gt;=7.2

Since Mar 28Pushed 6y agoCompare

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

READMEChangelog (3)Dependencies (5)Versions (19)Used By (1)

supports
========

[](#supports)

各类基础操作支持，HttpClient，Config 存取操作，Logs...

安装方法
====

[](#安装方法)

```
composer require wannanbigpig/supports

```

使用说明
====

[](#使用说明)

未做说明处请参考源码使用

```
// 测试日志
public function log()
{
    $log = new log([
       'driver' => 'single',
       'level' => 'info',
       'format' => "%datetime% > %channel% [ %level_name% ] > %message% %context% %extra%\r\n\n",
       'path' => '/tmp/wannanbigpig.alipay.log',
    ]);
    $log->info('测试日志');
}

// 测试HttpClient
class foo {
    use HttpRequest;

    public function query()
    {
         echo $this->request('POST','http://api.juheapi.com/japi/toh', [
            'key'   => '********',
            'v'     => '1.0',
            'month' => '3',
            'day'   => '28',
        ]);
    }
}

// 测试Config,支持用点获取多维数组，接口 IteratorAggregate, ArrayAccess, Serializable, Countable
public function Config()
{
    $config = new Config([
        'aaa' => 'sfa',
        'bbb' => 'bbb'
    ]);
    $config->set('a.b',['ads','dsds']);
    print_r($config->get('ccc'));
    print_r($config->get());
}
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 92.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

Every ~22 days

Recently: every ~67 days

Total

18

Last Release

2266d ago

Major Versions

v0.1.5 → v1.0.02019-04-28

v1.1.0 → v2.0.02019-07-01

PHP version history (2 changes)v0.1.1PHP &gt;=5.6

v2.1.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/47f86ccf2ac64f362b2ee3da04998e8931d230feada45094829eacfd7408ad6a?d=identicon)[liuml](/maintainers/liuml)

---

Top Contributors

[![wannanbigpig](https://avatars.githubusercontent.com/u/48752601?v=4)](https://github.com/wannanbigpig "wannanbigpig (48 commits)")[![liumenglei](https://avatars.githubusercontent.com/u/17676394?v=4)](https://github.com/liumenglei "liumenglei (4 commits)")

---

Tags

basic-servicescurllogsbasics

### Embed Badge

![Health badge](/badges/wannanbigpig-supports/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k853.6M8.3k](/packages/symfony-http-kernel)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M520](/packages/shopware-core)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19564.8M1.6k](/packages/drupal-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)

PHPackages © 2026

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