Download the PHP package ichynul/builder-man without Composer
On this page you can find all versions of the php package ichynul/builder-man. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package builder-man
关于
UI builder for webman
2024-11-15 升级2.0版本
与1.0版本的不同
-
简化代码,去除了与
webman/admin
相关的依赖代码,增强兼容性。 -
composer.json
中移除了对ichynul/tpextbuilder
UI的依赖,有两套UI可供选择,改为按需选择安装。 - UI框架的区别:tpextbuilder基于bootstrap4,tpext-tinyvue基于tinyvue。
安装webman
https://www.workerman.net/doc/webman/install.html
安装本扩展
安装UI builder扩展(二选一):
composer require ichynul/tpextbuilder:^3.9.1
或者
composer require ichynul/tpext-tinyvue:^5.0.1
安装本扩展
composer require ichynul/builder-man:^2.0.1
会自动安装相关依赖:tp-orm
、tp-cahce
、tp-template
配置
-
关闭控制器复用:
/config/app.php
,'controller_reuse' => false
- 配置数据库:
/config/thinkorm.php
使用
运行webman
代码编写
模型使用tp-orm
,laravel-orm
理论上也支持。
文档
https://gxzrnxb27j.k.topthink.com/@tpext-docs/about.html
DEMO
简单使用,一个表单:
进阶使用,配合tpext\builder\traits\actions\*
traits实现CRUD。(laravel-orm
写法不兼容)
其他说明
语言
语言默认为英文,如需切换语言:在config\plugin\builder\man\lang.php
中
上传文件、鉴权
需要对上传文件,选择文件,导入文件等功能进行定制,可以参考以下代码:
License
MIT
All versions of builder-man with dependencies
workerman/webman-framework Version ^1.3.20
topthink/think-template Version ^2.0
webman/think-cache Version ^1.0
webman/think-orm Version ^1.0
webman/event Version ^1.0.2
matthiasmullie/minify Version ^1.3
ichynul/lightyearadmin Version ^1.1.8
ichynul/tpextbuilder Version ^3.9.1