PHPackages                             yunwuxin/think-model-helper - 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. yunwuxin/think-model-helper

ActiveLibrary

yunwuxin/think-model-helper
===========================

v3.0.1(6y ago)291.2k10[3 issues](https://github.com/yunwuxin/think-model-helper/issues)1Apache-2.0PHPCI failing

Since Nov 22Pushed 6y ago2 watchersCompare

[ Source](https://github.com/yunwuxin/think-model-helper)[ Packagist](https://packagist.org/packages/yunwuxin/think-model-helper)[ RSS](/packages/yunwuxin-think-model-helper/feed)WikiDiscussions 3.0 Synced 2mo ago

READMEChangelog (10)Dependencies (5)Versions (17)Used By (1)

ThinkPHP6 自动生成模型的注释
-------------------

[](#thinkphp6-自动生成模型的注释)

### 安装

[](#安装)

```
composer require yunwuxin/think-model-helper

```

### 使用方法

[](#使用方法)

```
//所有模型
php think model:annotation

//指定模型
php think model:annotation app\\User app\\Post

```

#### 可选参数

[](#可选参数)

```
--dir="models" [-D] 指定自动搜索模型的目录,相对于应用基础目录的路径，可指定多个，默认为app/model

--ignore="app\\User,app\\Post" [-I] 忽略的模型，可指定多个

--overwrite [-O] 强制覆盖已有的属性注释

```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 90.5% 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 ~74 days

Recently: every ~54 days

Total

16

Last Release

2346d ago

Major Versions

v1.1.0 → v3.0.02019-05-08

v2.0.0 → 3.0.x-dev2019-12-10

PHP version history (2 changes)v1.0.0PHP &gt;=5.6.0

v1.0.3PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7422243107bba2d58c5682b69d1c405e66fa027df2f6202afc1bb0c55559a7b1?d=identicon)[yunwuxin](/maintainers/yunwuxin)

---

Top Contributors

[![yunwuxin](https://avatars.githubusercontent.com/u/2168125?v=4)](https://github.com/yunwuxin "yunwuxin (19 commits)")[![liu21st](https://avatars.githubusercontent.com/u/1111670?v=4)](https://github.com/liu21st "liu21st (1 commits)")[![liuwave](https://avatars.githubusercontent.com/u/6533126?v=4)](https://github.com/liuwave "liuwave (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yunwuxin-think-model-helper/health.svg)

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

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[symfony/serializer-pack

A pack for the Symfony serializer

1.1k28.2M221](/packages/symfony-serializer-pack)[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k69](/packages/humbug-box)[thecodingmachine/graphqlite

Write your GraphQL queries in simple to write controllers (using webonyx/graphql-php).

5723.1M30](/packages/thecodingmachine-graphqlite)

PHPackages © 2026

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