PHPackages                             tourze/diy-form-bundle - 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. tourze/diy-form-bundle

ActiveSymfony-bundle

tourze/diy-form-bundle
======================

自定义表单系统 - 支持动态表单配置、问卷调查和数据收集

0.0.2(5mo ago)01MITPHPCI passing

Since Jun 3Pushed 4mo ago1 watchersCompare

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

READMEChangelog (2)Dependencies (72)Versions (3)Used By (0)

DIY Form Bundle
===============

[](#diy-form-bundle)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/bc9cb70d9befc0ae74b8e646cb8d2f9f2b070115c84d455bf289640dfe1d4dc9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f6469792d666f726d2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/diy-form-bundle)[![PHP Version](https://camo.githubusercontent.com/0434525f9aa4fd159bde030dd4d1a8cb08069901e1b149323c8df148e6cceaaa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f6469792d666f726d2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/diy-form-bundle)[![Total Downloads](https://camo.githubusercontent.com/1241761e5d44e94f2a32725c821d5a862747097fafe5b5682bc9a3d85ea5042d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f6469792d666f726d2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/diy-form-bundle)[![License](https://camo.githubusercontent.com/7897d9f776edc47ff80535064c2a1e059e4819f1334b090beb3d2cac750902dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f6469792d666f726d2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/diy-form-bundle)[![Build Status](https://camo.githubusercontent.com/09dae79a37ddafe380f659aeaa829ffd6becc601e8ada526ba3239600bfd4416/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f6469792d666f726d2d62756e646c652f63692e796d6c)](https://github.com/tourze/diy-form-bundle/actions)[![Code Coverage](https://camo.githubusercontent.com/268c8bfc31b038f43b44fd7f494cc66f0ab7ff9b149d2ad4d0cdc36a0dbfc369/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f6469792d666f726d2d62756e646c65)](https://codecov.io/gh/tourze/diy-form-bundle)

A comprehensive dynamic form builder system for Symfony applications, designed for creating surveys, questionnaires, and custom forms with advanced features.

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Configuration](#configuration)
- [Field Types](#field-types)
- [Advanced Usage](#advanced-usage)
- [API Documentation](#api-documentation)
- [Dependencies](#dependencies)
- [Testing](#testing)
- [Contributing](#contributing)
- [Security](#security)
- [License](#license)

Features
--------

[](#features)

- **Dynamic Form Creation**: Create forms with various field types including text, select, radio, checkbox, date, file uploads, and more
- **Mobile Captcha Support**: Built-in mobile phone verification with SMS captcha
- **Rich Field Types**: Support for 13 different field types including rich text, images, and files
- **Form Analytics**: Track form submissions and analyze responses
- **EasyAdmin Integration**: Administrative interface for managing forms and responses
- **Session Management**: Step-by-step form completion with session tracking
- **Expression Language**: Advanced form logic with conditional fields
- **JSON-RPC API**: Complete API for form management and submission
- **Multi-language Support**: Full internationalization support

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require tourze/diy-form-bundle
```

Quick Start
-----------

[](#quick-start)

### 1. Enable the Bundle

[](#1-enable-the-bundle)

Add the bundle to your `config/bundles.php`:

```
