PHPackages                             ruanjiajia/yii2\_apidoc - 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. ruanjiajia/yii2\_apidoc

ActiveYii2-extension[API Development](/categories/api)

ruanjiajia/yii2\_apidoc
=======================

api doc for Yii2

v1.0.0(9y ago)5191MITPHP

Since May 3Pushed 8y ago3 watchersCompare

[ Source](https://github.com/victorruan/yii2_apidoc)[ Packagist](https://packagist.org/packages/ruanjiajia/yii2_apidoc)[ RSS](/packages/ruanjiajia-yii2-apidoc/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

yii2\_apidoc
============

[](#yii2_apidoc)

用配置生成接口文档

```
'modules' => [
        'route'=>[
            'class'=>'Route\Module',
            'ignore'=>['api'],
        ],
    ]
```

```
'modules' => [
        'route'=>[
            'class'=>'Route\Module',
            'ignore'=>['api'],
            'show_modules'=>'api'
        ],
    ]
```

```
 /**
     * api文档接口怎么生成？
     * @param string $version api版本
     * @param string $sign 签名
     * @param string $page 用于分页 最小是1
     * @desc 这个是描述哦
     * @method POST
     * @return string msg 消息解释
     * @return int code 0表示正确
     */
    public function actionIndex(){
    }
```

open
[![64A71AF0-D1CC-4902-BF79-CB2618960B7E.jpg](https://camo.githubusercontent.com/7492a2752b20eae76f3650d5020221f5cb2330fcc42bc590664982178bef1a9d/687474703a2f2f7777772e7969696368696e612e636f6d2f75706c6f6164732f696d616765732f3230313730352f30333230323732343132382e6a7067)](https://camo.githubusercontent.com/7492a2752b20eae76f3650d5020221f5cb2330fcc42bc590664982178bef1a9d/687474703a2f2f7777772e7969696368696e612e636f6d2f75706c6f6164732f696d616765732f3230313730352f30333230323732343132382e6a7067)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3347d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74229335b5d1005a2a151a45df9cf880ab214d98f5768ad1d597d0eee29c444d?d=identicon)[victorruan](/maintainers/victorruan)

---

Top Contributors

[![victorruan](https://avatars.githubusercontent.com/u/6701576?v=4)](https://github.com/victorruan "victorruan (10 commits)")

---

Tags

apidocyii2apidoc

### Embed Badge

![Health badge](/badges/ruanjiajia-yii2-apidoc/health.svg)

```
[![Health](https://phpackages.com/badges/ruanjiajia-yii2-apidoc/health.svg)](https://phpackages.com/packages/ruanjiajia-yii2-apidoc)
```

###  Alternatives

[yiisoft/yii2-apidoc

API Documentation generator for the Yii framework 2.0

260712.7k31](/packages/yiisoft-yii2-apidoc)[skeeks/yii2-google-api

Component for work with google api based on google/apiclient

1143.8k1](/packages/skeeks-yii2-google-api)

PHPackages © 2026

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