PHPackages                             ichynul/builder-man - 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. ichynul/builder-man

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

ichynul/builder-man
===================

webman extension

2.0.3(10mo ago)831Apache-2.0PHPPHP &gt;=7.2

Since Apr 2Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/ichynul/builder-man)[ Packagist](https://packagist.org/packages/ichynul/builder-man)[ Docs](http://www.ynyysc.com/)[ RSS](/packages/ichynul-builder-man/feed)WikiDiscussions 2.0 Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (0)

关于
==

[](#关于)

UI builder for webman

2024-11-15 升级2.0版本
------------------

[](#2024-11-15-升级20版本)

### 与1.0版本的不同

[](#与10版本的不同)

- 简化代码，去除了与 `webman/admin`相关的依赖代码，增强兼容性。
- `composer.json`中移除了对`ichynul/tpextbuilder`UI的依赖，有两套UI可供选择，改为按需选择安装。
- UI框架的区别：tpextbuilder基于bootstrap4，tpext-tinyvue基于tinyvue。

安装webman
--------

[](#安装webman)

安装本扩展
-----

[](#安装本扩展)

安装UI builder扩展（三选一）：

`composer require ichynul/tpextbuilder:^3.9.1`

或者

`composer require ichynul/tpext-tinyvue:~5.0`

或者

`composer require ichynul/tpext-vexipui:~5.0`

安装本扩展

`composer require ichynul/builder-man:~2.0`

会自动安装相关依赖：`tp-orm`、`tp-cahce`、`tp-template`

配置
--

[](#配置)

- 关闭控制器复用: `/config/app.php`,`'controller_reuse' => false`
- 配置数据库: `/config/thinkorm.php`

使用
--

[](#使用)

运行webman

### 代码编写

[](#代码编写)

模型使用`tp-orm`，`laravel-orm`理论上也支持。

文档
--

[](#文档)

DEMO
----

[](#demo)

简单使用，一个表单：

```
