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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yunwuxin/think-model-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

v3.0.1(6y ago)301.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 today

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

37

—

LowBetter than 81% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity29

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

2394d 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

[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12524.8M137](/packages/phpdocumentor-reflection)[mcp/sdk

Model Context Protocol SDK for Client and Server applications in PHP

1.5k937.5k69](/packages/mcp-sdk)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

1237.8M121](/packages/web-auth-webauthn-lib)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

318117.1k1](/packages/cognesy-instructor-php)[oat-sa/tao-core

TAO core extension

66140.1k108](/packages/oat-sa-tao-core)[symfony/ai-platform

PHP library for interacting with AI platform provider.

521.2M216](/packages/symfony-ai-platform)

PHPackages © 2026

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