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(1y 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)12Apache-2.0PHP

Since Mar 10Pushed 1y 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 1mo ago

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

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

Maintenance44

Moderate activity, may be stable

Popularity38

Limited adoption so far

Community21

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

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

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M232](/packages/nelmio-api-doc-bundle)[topthink/think

the new thinkphp framework

8.0k1.2M13](/packages/topthink-think)[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.5k68](/packages/humbug-box)

PHPackages © 2026

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