PHPackages                             topthink/think-ide-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. topthink/think-ide-helper

ActiveLibrary

topthink/think-ide-helper
=========================

v2.0.0(11mo ago)2522.1k↑14.8%8[4 issues](https://github.com/top-think/think-ide-helper/issues)[3 PRs](https://github.com/top-think/think-ide-helper/pulls)Apache-2.0PHP

Since Mar 10Pushed 11mo ago3 watchersCompare

[ Source](https://github.com/top-think/think-ide-helper)[ Packagist](https://packagist.org/packages/topthink/think-ide-helper)[ RSS](/packages/topthink-think-ide-helper/feed)WikiDiscussions 2.0 Synced today

READMEChangelog (7)Dependencies (4)Versions (9)Used By (0)

ThinkPHP6 自动生成用于IDE提示的注释
------------------------

[](#thinkphp6-自动生成用于ide提示的注释)

### 安装

[](#安装)

```
composer require topthink/think-ide-helper

```

### 1.模型注释

[](#1模型注释)

```
//所有模型
php think ide-helper:model

//指定模型
php think ide-helper:model app\\model\\User app\\model\\Post

```

#### 可选参数

[](#可选参数)

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

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

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

--reset [-R] 重置模型的所有的注释

```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance48

Moderate activity, may be stable

Popularity38

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

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

Every ~266 days

Recently: every ~336 days

Total

8

Last Release

342d ago

Major Versions

v1.1.0 → v2.0.02025-04-15

### Community

Maintainers

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

---

Top Contributors

[![yunwuxin](https://avatars.githubusercontent.com/u/2168125?v=4)](https://github.com/yunwuxin "yunwuxin (16 commits)")

### Embed Badge

![Health badge](/badges/topthink-think-ide-helper/health.svg)

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

###  Alternatives

[topthink/think

the new thinkphp framework

8.0k1.2M12](/packages/topthink-think)[zhongshaofa/easyadmin

基于ThinkPHP6.0和layui的快速开发的后台管理系统。

6589.3k](/packages/zhongshaofa-easyadmin)[jaguarjack/catchadmin

The CatchAdmin Background management

8952.6k](/packages/jaguarjack-catchadmin)[zoujingli/think-library

Library for ThinkAdmin

8368.7k11](/packages/zoujingli-think-library)[topthink/think-annotation

Annotation For ThinkPHP

4830.8k7](/packages/topthink-think-annotation)

PHPackages © 2026

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