PHPackages                             cnitker/file\_build - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. cnitker/file\_build

ActiveLibrary[File &amp; Storage](/categories/file-storage)

cnitker/file\_build
===================

thinkphp6 controller model logic validate auto file build

1.0.0(3y ago)079Apache-2.0PHPPHP &gt;=7.4

Since Oct 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/cnitker/file_build)[ Packagist](https://packagist.org/packages/cnitker/file_build)[ RSS](/packages/cnitker-file-build/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

开发助手命令工具
========

[](#开发助手命令工具)

> 一键生成控制器,逻辑,模型,验证层文件

安装方法
----

[](#安装方法)

```
composer require cnitker/file_build --dev

```

使用方法
----

[](#使用方法)

### 生成类命令

[](#生成类命令)

```
php think make:file-build --namespace app/admin/controller/content --model GoodsOrder

 --namespace 控制器生成目录
 --model  数据库预设模型名称
 --replace  覆盖已生成文件默认:false

```

### 配置

[](#配置)

> 配置文件位于 config/file\_build.php

```
return [
    'admin' => [
        'filename' => 'AdminBaseController',
        'namespace' => 'app\admin\controller\AdminBaseController',
    ],
    'api' => [
        'filename' => 'ApiBaseController',
        'namespace' => 'app\api\controller\ApiBaseController',
    ],
];

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1308d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/53aa8a5a04022f5d027790fbdaa4d503c3a77123cc1a46f27fdd69faa819103e?d=identicon)[cnitker](/maintainers/cnitker)

### Embed Badge

![Health badge](/badges/cnitker-file-build/health.svg)

```
[![Health](https://phpackages.com/badges/cnitker-file-build/health.svg)](https://phpackages.com/packages/cnitker-file-build)
```

###  Alternatives

[thans/thinkphp-filesystem-cloud

thinkphp6.0 filesystem,include Aliyun and Qiniu

2237.8k3](/packages/thans-thinkphp-filesystem-cloud)[yzh52521/think-filesystem

thinkphp6.1 for filesystem,include Aliyun and Qiniu COS OBS

113.8k](/packages/yzh52521-think-filesystem)

PHPackages © 2026

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