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

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

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

v2.0.0(1y ago)2423.0k—9.4%8[7 issues](https://github.com/top-think/think-ide-helper/issues)[2 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 3w 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

43

—

FairBetter than 90% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity62

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

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

[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12524.8M137](/packages/phpdocumentor-reflection)[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)[symfony/ai-agent

PHP library for building agentic applications.

31746.8k82](/packages/symfony-ai-agent)[xefi/faker-php

Faker allows you to generate realistic fake data for your php applications

18620.0k16](/packages/xefi-faker-php)

PHPackages © 2026

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