PHPackages                             chatfeed/yii2-doc - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. chatfeed/yii2-doc

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

chatfeed/yii2-doc
=================

auto document tool for Yii2

9151PHP

Since Jan 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/chatfeed/yii2-doc)[ Packagist](https://packagist.org/packages/chatfeed/yii2-doc)[ RSS](/packages/chatfeed-yii2-doc/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-doc
========

[](#yii2-doc)

====================== auto generate api document by using comment for yii2.

Installation
============

[](#installation)

```
composer require chatfeed/yii2-doc "*"

```

Configure
=========

[](#configure)

```
    'module'=>[
        'doc' => [
            'class' => 'cfd\doc\Module',
            'modelDescriptions'=>require __DIR__.'/model_description.php',
            'modelsMap'=>[
                '\common\base_models\kds\\',
            ]
        ]
    ]
```

Define Customer Model
=====================

[](#define-customer-model)

```
return [
    'demo'=>[
        ['object','demo','模型'],
        ['integer','id','ID'],
        ['string','name','名称'],
        ['string','desc','描述'],
        ['integer','created_at','创建时间'],
        ['integer','updated_at','更新时间'],
    ]
];
```

Screenshot
==========

[](#screenshot)

[![screenshots](https://github.com/chatfeed/yii2-doc/raw/master/screenshot.jpg)](https://github.com/chatfeed/yii2-doc/blob/master/screenshot.jpg)Thanks [yii2-fast-api](https://github.com/deepziyu/yii2-fast-api)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/chatfeed-yii2-doc/health.svg)

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

###  Alternatives

[fabiopaiva/zf2-doctrine-autocomplete

Provides a autocomplete form for ZF2 and Doctrine2.

104.9k](/packages/fabiopaiva-zf2-doctrine-autocomplete)

PHPackages © 2026

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