PHPackages                             iszxjslove/think-php-model-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. iszxjslove/think-php-model-doc

ActiveLibrary

iszxjslove/think-php-model-doc
==============================

tp5/tp6 命令行一键添加Model类字段属性注释，解决phpstorm等IDE没有提示的问题

v1.0.2(5y ago)021[1 issues](https://github.com/iszxjslove/think-php-model-doc/issues)Apache-2.0PHPPHP ^7.0

Since Oct 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/iszxjslove/think-php-model-doc)[ Packagist](https://packagist.org/packages/iszxjslove/think-php-model-doc)[ RSS](/packages/iszxjslove-think-php-model-doc/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

think-php-model-doc
===================

[](#think-php-model-doc)

#### 介绍

[](#介绍)

tp5 命令行一键添加Model类字段属性注释，解决phpstorm等IDE没有提示的问题

#### 安装教程

[](#安装教程)

1. 复制InsertModelDoc.php到app应用目录，注意对应命名空间
2. 修改../application/command.php 添加 'app\\admin\\command\\InsertModelDoc'

#### 使用说明

[](#使用说明)

```
php think model_doc
```

#### 可选参数

[](#可选参数)

###### -a 应用目录

[](#-a-应用目录)

```
# 修改common目录下的所有模型
php think model_doc -p common
```

###### -m 模型名称

[](#-m-模型名称)

```
# 修改所有应该目录下的User模型
php think model_doc -m User

# 修改common目录下的User模型
php think model_doc -p common -m User
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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

Every ~0 days

Total

3

Last Release

2031d ago

PHP version history (2 changes)v1.0.0PHP ^7.2

v1.0.1PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa3ab1622faff2f7a3debf113dd60ebc16d103f44f90433f9ae24962c8d7b961?d=identicon)[iszxjslove](/maintainers/iszxjslove)

---

Top Contributors

[![iszxjslove](https://avatars.githubusercontent.com/u/42438543?v=4)](https://github.com/iszxjslove "iszxjslove (18 commits)")

### Embed Badge

![Health badge](/badges/iszxjslove-think-php-model-doc/health.svg)

```
[![Health](https://phpackages.com/badges/iszxjslove-think-php-model-doc/health.svg)](https://phpackages.com/packages/iszxjslove-think-php-model-doc)
```

###  Alternatives

[topthink/think

the new thinkphp framework

8.0k1.2M13](/packages/topthink-think)[topthink/think-queue

The ThinkPHP6 Queue Package

640675.0k75](/packages/topthink-think-queue)[topthink/think-swoole

Swoole extend for thinkphp

477174.4k19](/packages/topthink-think-swoole)[topthink/think-captcha

captcha package for thinkphp

132934.4k68](/packages/topthink-think-captcha)[topthink/think-worker

workerman extend for thinkphp

202227.2k9](/packages/topthink-think-worker)[topthink/think-migration

96460.8k121](/packages/topthink-think-migration)

PHPackages © 2026

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