PHPackages                             rqgkqeej/form-builder - 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. [Templating &amp; Views](/categories/templating)
4. /
5. rqgkqeej/form-builder

ActiveLibrary[Templating &amp; Views](/categories/templating)

rqgkqeej/form-builder
=====================

fork自xaboy/form-builder..PHP表单生成器，快速生成现代化的form表单。包含复选框、单选框、输入框、下拉选择框等元素以及,省市区三级联动,时间选择,日期选择,颜色选择,文件/图片上传等功能。

0.2(2y ago)04MITPHPPHP &gt;=5.4.0

Since Jan 21Pushed 2y agoCompare

[ Source](https://github.com/rqgkqeej/form-builder)[ Packagist](https://packagist.org/packages/rqgkqeej/form-builder)[ Docs](https://github.com/rqgkqeej/form-builder)[ RSS](/packages/rqgkqeej-form-builder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

 [ ![](https://camo.githubusercontent.com/39b61b302b187171ad49bc0a9305f9e79787e71a/687474703a2f2f66696c652e6c6f746b6b2e636f6d2f666f726d2d6275696c6465722e706e67) ](https://github.com/xaboy/form-builder)

form-builder
============

[](#form-builder)

 [![MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667) [ ![xaboy](https://camo.githubusercontent.com/c5b4e9f11682a5b66b3dfeef8d97cead336edb7d69ed865a9107b9e6c61b41e9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f417574686f722d7861626f792d626c75652e737667) ](https://github.com/xaboy) [ ![version](https://camo.githubusercontent.com/d277ed1e8e0302dd33e7b7446651fc910d4cb33aef9d5760a23de898da9e1637/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7861626f792f666f726d2d6275696c6465722e737667) ](https://packagist.org/packages/xaboy/form-builder) [ ![php version](https://camo.githubusercontent.com/6d9672a9717a6f2c1446d51284bc80cd40c29e1e0b5af982c6ff47fd95105457/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7861626f792f666f726d2d6275696c6465722e737667) ](https://packagist.org/packages/xaboy/form-builder)

PHP表单生成器，快速生成现代化的form表单。包含复选框、单选框、输入框、下拉选择框等元素以及省市区三级联动、时间选择、日期选择、颜色选择、树型、文件/图片上传等功能。

[![demo1](https://raw.githubusercontent.com/xaboy/form-create/dev/images/demo-live3.gif)](https://raw.githubusercontent.com/xaboy/form-create/dev/images/demo-live3.gif)[![demo2](https://github.com/xaboy/form-create/raw/dev/images/demo-group.gif?raw=true)](https://github.com/xaboy/form-create/raw/dev/images/demo-group.gif?raw=true)

文档
--

[](#文档)

[文档](http://php.form-create.com)

环境需求
----

[](#环境需求)

> - PHP &gt;= 5.4

支持 UI
-----

[](#支持-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/):

```
$ composer require xaboy/form-builder:~2.0
```

DEMO
----

[](#demo)

下载项目

```
git clone https://github.com/xaboy/form-builder.git
```

开启服务

```
cd form-builder
composer install
php -S 127.0.0.1:8112
```

查看 Demo

- elementUI : 127.0.0.1:8112/demo/elm.php
- iview : 127.0.0.1:8112/demo/iview.php

演示项目
----

[](#演示项目)

[开源的高品质微信商城](http://github.crmeb.net/u/xaboy)

演示地址:  账号：demo 密码：crmeb.com

使用建议
----

[](#使用建议)

1. 建议将静态资源加载方式从 CDN 加载修改为自己本地资源或自己信任的 CDN
2. 建议根据自己的业务逻辑重写默认的表单生成页 默认表单生成页

组件生成效果
------

[](#组件生成效果)

[![https://raw.githubusercontent.com/xaboy/form-builder/2.0/images/components.png](https://raw.githubusercontent.com/xaboy/form-builder/master/images/components.png)](https://raw.githubusercontent.com/xaboy/form-builder/master/images/components.png)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.9% 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 ~0 days

Total

3

Last Release

840d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/755a13befc1ccc787eb68ccc68bf6801247c64e04a0649b730481dba40afab4c?d=identicon)[rqgkqeej](/maintainers/rqgkqeej)

---

Top Contributors

[![xaboy](https://avatars.githubusercontent.com/u/21242408?v=4)](https://github.com/xaboy "xaboy (168 commits)")[![rqgkqeej](https://avatars.githubusercontent.com/u/68462462?v=4)](https://github.com/rqgkqeej "rqgkqeej (3 commits)")[![shulinqian](https://avatars.githubusercontent.com/u/3351161?v=4)](https://github.com/shulinqian "shulinqian (3 commits)")[![ccc008](https://avatars.githubusercontent.com/u/8074421?v=4)](https://github.com/ccc008 "ccc008 (1 commits)")[![monkeywithacupcake](https://avatars.githubusercontent.com/u/7316730?v=4)](https://github.com/monkeywithacupcake "monkeywithacupcake (1 commits)")[![suframe](https://avatars.githubusercontent.com/u/52858585?v=4)](https://github.com/suframe "suframe (1 commits)")

---

Tags

formform generatordynamic formiviewelement-uiform-create

### Embed Badge

![Health badge](/badges/rqgkqeej-form-builder/health.svg)

```
[![Health](https://phpackages.com/badges/rqgkqeej-form-builder/health.svg)](https://phpackages.com/packages/rqgkqeej-form-builder)
```

###  Alternatives

[xaboy/form-builder

好用的PHP表单生成器，快速生成现代化的form表单,支持前后端分离。内置17种常用表单组件。目前在政务系统、OA系统、ERP系统、电商系统、流程管理等系统中已稳定应用。

76275.0k5](/packages/xaboy-form-builder)[craue/formflow-bundle

Multi-step forms for your Symfony project.

7484.0M13](/packages/craue-formflow-bundle)[nucleos/antispam-bundle

This bundle provides some basic features to reduce spam in symfony forms.

52105.1k](/packages/nucleos-antispam-bundle)[craue/formflow-demo-bundle

Example code showcasing the features of CraueFormFlowBundle.

298.5k](/packages/craue-formflow-demo-bundle)

PHPackages © 2026

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