PHPackages                             qifen/webman-api-response - 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. [API Development](/categories/api)
4. /
5. qifen/webman-api-response

ActiveLibrary[API Development](/categories/api)

qifen/webman-api-response
=========================

1.1(4y ago)0661MITPHP

Since Mar 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/xsxs89757/webman-api-response)[ Packagist](https://packagist.org/packages/qifen/webman-api-response)[ RSS](/packages/qifen-webman-api-response/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (1)

功能类
===

[](#功能类)

```
composer require qifen/webman-api-response

```

类
=

[](#类)

webman Response 接口
------------------

[](#webman-response-接口)

```
use Qifen\WebmanApiResponse\ApiResponse;
use ApiResponse;

// 如果增加其他code 可以继承 Qifen\WebmanApiResponse\Code 并修改 配置文件的类库

class CustomCode extends Code {
    const CODE_CUSTOM = 99;

    const EXTENDS_MAP = [
        self::CODE_CUSTOM => '自定义消息'
    ];

    public static function getStatusText($code, string $msg = '') {
        if (!empty($msg)) return $msg;
        $map = self::STATUS_MAP + self::EXTENDS_MAP;
        return isset($map[$code]) ? $map[$code] : '';
    }
}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~1 days

Total

2

Last Release

1574d ago

### Community

Maintainers

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

---

Top Contributors

[![MustBeBlue](https://avatars.githubusercontent.com/u/163366625?v=4)](https://github.com/MustBeBlue "MustBeBlue (1 commits)")[![xsxs89757](https://avatars.githubusercontent.com/u/32379836?v=4)](https://github.com/xsxs89757 "xsxs89757 (1 commits)")

### Embed Badge

![Health badge](/badges/qifen-webman-api-response/health.svg)

```
[![Health](https://phpackages.com/badges/qifen-webman-api-response/health.svg)](https://phpackages.com/packages/qifen-webman-api-response)
```

###  Alternatives

[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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