PHPackages                             busyphp/ide-model - 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. busyphp/ide-model

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

busyphp/ide-model
=================

用于生成BusyPHP的模型/模型字段注释或模型字段属性，以提高开发效率

v1.0.2(2y ago)081Apache-2.0PHPPHP &gt;=8.0.0

Since May 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/busyphp/ide-model)[ Packagist](https://packagist.org/packages/busyphp/ide-model)[ Docs](http://www.harter.cn/?form=BusyPHP&plugin=busyphp/ide-model)[ RSS](/packages/busyphp-ide-model/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (1)

BusyPHP模型注释生成器
==============

[](#busyphp模型注释生成器)

用于生成BusyPHP的`模型`/`模型字段`注释或`模型字段`属性，以提高开发效率

安装方法
----

[](#安装方法)

```
composer require busyphp/ide-model
```

使用说明
----

[](#使用说明)

### 全部扫描并生成

[](#全部扫描并生成)

> 使用 `-A` 指令即可自动扫描 `core/model` 目录下的所有模型/模型字段类进行生成
> 可配合 `-D` 添加自己的目录名称

```
php think bp:ide-model -A
php think bp:ide-model -A -D customDir -D customDir1
```

### 指定目录扫描并生成

[](#指定目录扫描并生成)

```
php think bp:ide-model -D userDir0 -D userDir1
```

### 指定类目生成

[](#指定类目生成)

> 支持使用 `.`, `/` 替代 `\\` 方便快输入类名称

```
php think bp:ide-model core.model.UserModel core.model.UserModelField
php think bp:ide-model core/model/UserModel core/model/UserModelField
php think bp:ide-model core\\model\\UserModel core\\model\\UserModelField
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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 ~10 days

Total

3

Last Release

1071d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/de6a1fa6381f7af7435f453177ce4f8ddc72a4dcd4c9b9ac3530c9d1180b7c60?d=identicon)[busylife](/maintainers/busylife)

---

Top Contributors

[![brisk-php](https://avatars.githubusercontent.com/u/16153680?v=4)](https://github.com/brisk-php "brisk-php (3 commits)")

---

Tags

ide-helpermodel ide helper

### Embed Badge

![Health badge](/badges/busyphp-ide-model/health.svg)

```
[![Health](https://phpackages.com/badges/busyphp-ide-model/health.svg)](https://phpackages.com/packages/busyphp-ide-model)
```

###  Alternatives

[swoft/swoole-ide-helper

IDE helper for Swoft and Swoole

41322.9k145](/packages/swoft-swoole-ide-helper)

PHPackages © 2026

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