dcodegroup/form-builder 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dcodegroup/form-builder

Composer 安装命令:

composer require dcodegroup/form-builder

包简介

Simple package which dcode uses to manage form builder

README 文档

README

This package provides the standard scaffolding of form builder functionality used in most projects.

Installation

PHP

You can install the package via composer:

Version / Branch Laravel Support Install Command
1.x <= v10 composer require dcodegroup/form-builder:^1.0
2.x >= v11 composer require dcodegroup/form-builder:^2.0
3.x >= v11 composer require dcodegroup/form-builder:^3.0

Then run the installation command.

php artisan form-builder:install

This will publish the configuration file and the migration file.

Run the migrations

php artisan migrate

Traits for form validation

Located in

src\Http\Traits\FormValidator.php

Development

To build the assets, run this command

npm run build

Tailwind CSS

The project uses Tailwind CSS v3 with v4-compatible syntax. This means:

  • All CSS utilities and Vue components are compatible with both Tailwind v3 and v4
  • Opacity syntax uses the modern slash notation: ring-sky-200/50 instead of ring-opacity-50
  • When upgrading to Tailwind v4 in the future, no CSS or component changes will be needed

Custom Theme Extensions:

  • brand color palette (25, 50, 100, ..., 950) for brand styling
  • success, error, warning color utilities
  • Custom fill width utility for responsive layouts

Note: The /example directory remains on Tailwind v3 for backwards compatibility.

Example

Check example folder to see how to use the package.

/example

统计信息

  • 总下载量: 19.14k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 4
  • Forks: 2
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固