skywalker-labs/formcraft 问题修复 & 功能扩展

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

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

skywalker-labs/formcraft

Composer 安装命令:

composer require skywalker-labs/formcraft

包简介

Modern HTML & Form Builder for Laravel with 50+ components, theme support (Bootstrap/Tailwind), Livewire integration, and accessibility features

README 文档

README

╔═══════════════════════════════════════════════════════════════╗
║                                                               ║
║   ███████╗ ██████╗ ██████╗ ███╗   ███╗ ██████╗██████╗  █████╗ ║
║   ██╔════╝██╔═══██╗██╔══██╗████╗ ████║██╔════╝██╔══██╗██╔══██╗║
║   █████╗  ██║   ██║██████╔╝██╔████╔██║██║     ██████╔╝███████║║
║   ██╔══╝  ██║   ██║██╔══██╗██║╚██╔╝██║██║     ██╔══██╗██╔══██║║
║   ██║     ╚██████╔╝██║  ██║██║ ╚═╝ ██║╚██████╗██║  ██║██║  ██║║
║   ╚═╝      ╚═════╝ ╚═╝  ╚═╝╚═╝     ╚═╝ ╚═════╝╚═╝  ╚═╝╚═╝  ╚═╝║
║                                                               ║
║            HTML & Form Builder for Laravel                    ║
║       🎨 50+ Components | 🚀 Modern | ♿ Accessible          ║
║                                                               ║
╚═══════════════════════════════════════════════════════════════╝

FormCraft - Laravel HTML & Form Builder

Latest Version on Packagist Total Downloads

A comprehensive HTML and Form Builder for Laravel with 50+ modern features, strict PHP 8.2+ typing, and built-in support for Bootstrap & Tailwind CSS.

✨ Features

  • 🎨 Theme Support - Bootstrap & Tailwind CSS
  • 🔄 Livewire Compatible - Built-in wire:model helpers
  • Accessibility Ready - Automatic ARIA attributes
  • 📱 Responsive - Mobile-first design
  • 🚀 50+ Components - Forms, UI elements, utilities
  • 🎯 Zero Dependencies - No external JavaScript required

📦 Installation

composer require skywalker-labs/formcraft

Publish configuration:

php artisan vendor:publish --tag=html-config

🚀 Quick Start

Basic Form

{!! Form::open(['url' => 'users/store']) !!}
    {!! Form::text('name') !!}
    {!! Form::email('email') !!}
    {!! Form::submit('Save') !!}
{!! Form::close() !!}

Model Binding

{!! Form::model($user, ['route' => ['users.update', $user]]) !!}
    {!! Form::text('name') !!}
    {!! Form::email('email') !!}
    {!! Form::submit('Update') !!}
{!! Form::close() !!}

Blade Components

<x-form-input name="email" label="Email" />
<x-form-select name="country" :options="$countries" />
<x-form-textarea name="bio" rows="5" />
<x-form-checkbox name="agree" label="I agree" />

📚 Key Features

HTML5 Validation Rules

{!! Form::rules('required|email|max:255')->text('email') !!}
{!! Form::rules('required|min:8')->password('password') !!}

Smart Components

// Toggle switch
{!! Form::toggle('notifications', 1, true, ['label' => 'Enable']) !!}

// Color picker
{!! Form::colorPicker('theme_color', '#3490dc') !!}

// Searchable select
{!! Form::searchableSelect('country', $countries) !!}

// Date picker
{!! Form::datePicker('birthday') !!}

// File upload with preview
{!! Form::fileUpload('avatar', ['preview' => true]) !!}

Livewire Integration

{!! Form::wire('email')->text('email') !!}
{!! Form::wireLive('search', 300)->text('search') !!}
{!! Form::wireClick('save')->submit('Save') !!}

UI Components

{!! Html::alert('Success!', 'success') !!}
{!! Html::progressBar(75, ['striped' => true]) !!}
{!! Html::badge('New', 'primary') !!}
{!! Html::tabs(['Tab 1' => 'Content 1', 'Tab 2' => 'Content 2']) !!}

📖 Documentation

Complete documentation available in the repository:

🎯 Feature List

Phase 1-4: Core features, utilities, UI components, Livewire
Phase 5: Validation rules, toggles, color pickers, ratings
Phase 6: Searchable/multi/AJAX selects, autocomplete
Phase 7: Date/time pickers, file uploads
Phase 8: Rich text editor, inline editing, form wizards
Phase 9: Progress bars, badges, tabs, accordion, tooltips

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

The Laravel HTML package is open-sourced software licensed under the MIT license.

skywalker-labs/formcraft 适用场景与选型建议

skywalker-labs/formcraft 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 3, 最近一次更新时间为 2026 年 02 月 15 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「form」 「bootstrap」 「html」 「laravel」 「accessibility」 「form-builder」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 skywalker-labs/formcraft 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 skywalker-labs/formcraft 我们能提供哪些服务?
定制开发 / 二次开发

基于 skywalker-labs/formcraft 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 33
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-15