|
|
@@ -1,16 +1,21 @@
|
|
|
<p align="center">
|
|
|
<a href="https://github.com/xaboy/form-builder">
|
|
|
- <img width="200" src="https://camo.githubusercontent.com/39b61b302b187171ad49bc0a9305f9e79787e71a/687474703a2f2f66696c652e6c6f746b6b2e636f6d2f666f726d2d6275696c6465722e706e67">
|
|
|
+ <img width="200" src="https://php.form-create.com/form-builder.png">
|
|
|
</a>
|
|
|
</p>
|
|
|
-<h1 align="center">form-builder</h1>
|
|
|
+<h1 align="center">FormBuilder</h1>
|
|
|
<p align="center">
|
|
|
+ <a href="https://www.form-create.com/" target="_blank">官网</a>
|
|
|
+ <span> | </span>
|
|
|
+ <a href="https://php.form-create.com" target="_blank">帮助文档</a>
|
|
|
+ <span> | </span>
|
|
|
+ <a href="https://pro.form-create.com/view/" target="_blank">可视化表单设计器</a>
|
|
|
+ <span> | </span>
|
|
|
+ <a href="https://pro.form-create.com/mobile/" target="_blank">移动端表单设计器</a>
|
|
|
+</p>
|
|
|
+<p align="center">
|
|
|
+ <a href="https://github.com/xaboy/form-builder">
|
|
|
<img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="MIT" />
|
|
|
- <a href="https://github.com/xaboy">
|
|
|
- <img src="https://img.shields.io/badge/Author-xaboy-blue.svg" alt="xaboy" />
|
|
|
- </a>
|
|
|
- <a href="https://packagist.org/packages/xaboy/form-builder">
|
|
|
- <img src="https://img.shields.io/packagist/v/xaboy/form-builder.svg" alt="version" />
|
|
|
</a>
|
|
|
<a href="https://packagist.org/packages/xaboy/form-builder">
|
|
|
<img src="https://img.shields.io/packagist/php-v/xaboy/form-builder.svg" alt="php version" />
|
|
|
@@ -18,54 +23,28 @@
|
|
|
</p>
|
|
|
|
|
|
<p align="center">
|
|
|
-PHP表单生成器,快速生成现代化的form表单。包含复选框、单选框、输入框、下拉选择框等元素以及省市区三级联动、时间选择、日期选择、颜色选择、树型、文件/图片上传等功能。
|
|
|
+PHP表单生成器,基于[@form-create/element-ui](https://github.com/xaboy/form-create)实现快速生成现代化的Form表单。包含复选框、单选框、输入框、下拉选择框等元素以及省市区三级联动、时间选择、日期选择、颜色选择、树型、文件/图片上传等功能。
|
|
|
</p>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-## 文档
|
|
|
-
|
|
|
-[文档](http://php.form-create.com)
|
|
|
+## 特点
|
|
|
+- 使用JSON数据生成表单
|
|
|
+- 支持扩展,生成任何Vue组件和HTML标签
|
|
|
+- 支持6个UI框架
|
|
|
+- 支持组件之间联动
|
|
|
+- 提供丰富的表单操作API
|
|
|
+- 支持子表单和分组
|
|
|
+- 高性能
|
|
|
|
|
|
## 环境需求
|
|
|
|
|
|
-> - PHP >= 5.4
|
|
|
+- 2.0版本 `PHP >= 5.4`
|
|
|
+- 2.1版本 `PHP >= 7.1`
|
|
|
|
|
|
## 支持 UI
|
|
|
|
|
|
> - IView
|
|
|
> - ElementUI
|
|
|
|
|
|
-## 功能介绍
|
|
|
-
|
|
|
-> - 内置17种常用的表单组件
|
|
|
-> - 支持表单验证
|
|
|
-> - 支持生成任何 Vue 组件
|
|
|
-> - 支持栅格布局
|
|
|
-> - 支持注解
|
|
|
-> - 可以配合 [form-create](https://github.com/xaboy/form-create) 生成更复杂的表单
|
|
|
-
|
|
|
-## 内置组件
|
|
|
-
|
|
|
-> - hidden
|
|
|
-> - input
|
|
|
-> - inputNumber
|
|
|
-> - checkbox
|
|
|
-> - radio
|
|
|
-> - switch
|
|
|
-> - select
|
|
|
-> - autoComplete
|
|
|
-> - cascader
|
|
|
-> - colorPicker
|
|
|
-> - datePicker
|
|
|
-> - timePicker
|
|
|
-> - rate
|
|
|
-> - slider
|
|
|
-> - upload
|
|
|
-> - tree
|
|
|
-> - frame
|
|
|
-
|
|
|
## 安装
|
|
|
|
|
|
使用 [composer](http://getcomposer.org/):
|
|
|
@@ -102,5 +81,10 @@ php -S 127.0.0.1:8112
|
|
|
2. 建议根据自己的业务逻辑重写默认的表单生成页 默认表单生成页
|
|
|
|
|
|
|
|
|
-## 组件生成效果
|
|
|
+## 预览
|
|
|
+
|
|
|

|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|