lara-experts/forms
Composer 安装命令:
composer require lara-experts/forms
包简介
A complete form builder package for Laravel and Filament, providing reusable UI components and tools to create dynamic, customizable forms
README 文档
README
LaraExperts Form Builder is a powerful Laravel package that allows users to build fully customizable forms with ease. Built on top of the Filament admin panel, this package lets you add and manage dynamic fields such as inputs, text areas, paragraphs, date/time pickers, color pickers, file uploads, and more — all without writing any HTML manually.
🚀 Features
- Drag-and-drop form builder interface
- Custom fields (text, paragraph, file, date, color, etc.)
- Responsive and accessible forms
- Admin panel management via Filament
- API-ready for submission and management
- Image and media support
- SEO integration
- Multilingual support
📦 Installation
To install the package, follow the steps below.
Step 1: Install via Composer
composer require lara-experts/forms
Step 2: Run the Installation Command
php artisan form:install
This command sets up the initial package structure and optionally runs database migrations after user confirmation.
⚙️ Configuration & Setup
Step 3: Set Up APIs and Controllers
Publish all components (optionally use --force if needed):
php artisan bolt:publish
//
IMPORTANT in laravel 11 you should add this line in file bootstrap/app.php
" api: __DIR__.'/../routes/api.php"
Generate the FormController (manual completion may be required):
php artisan make:form-controller
Step 4: Configure User Model
Add the following in your app/Models/User.php file:
use LaraExperts\Bolt\Models\Concerns\BelongToBolt; class User extends Authenticatable { use BelongToBolt; }
Step 5: Set Up Image Support
⚠️ Important: The image upload API requires authentication.
You must create a login endpoint using JWT and use the access token when calling the image upload endpoint.
php artisan make:image-support
Step 6: Run Migrations
php artisan migrate
🧩 Required Dependencies
Ensure the following packages are installed for full functionality:
✅ Filament Admin Panel
composer require filament/filament
🌐 Multilingual Support
composer require filament/spatie-laravel-translatable-plugin:"^3.2" -W
Register the Plugin in Your Admin Panel Provider
⚠️ Important:
You must register the plugin in your Admin Panel Provider to make it visible and functional in the admin panel.
use LaraExperts\Bolt\BoltPlugin; use Filament\SpatieLaravelTranslatablePlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ SpatieLaravelTranslatablePlugin::make() ->defaultLocales(['en', 'es']), BoltPlugin::make(), ]); }
🔍 SEO Tools
composer require artesaos/seotools
📘 Usage
After installation and setup, access the Filament dashboard and navigate to the Form Builder panel. Here you can:
- Create new forms
- Add any supported field type
- Configure field settings, validation, and design
- Save and manage submissions
These forms are ready to be displayed on the front-end and accept user input.
🛠 Customization
You can extend or override components such as:
- Fields (create your own or edit existing ones)
- Form layout templates
- Submission logic (custom controllers)
- Validation rules
Explore the published files and documentation for customization options.
🤝 Contributing
We welcome contributions! Whether it's a bug fix, enhancement, or suggestion — open an issue or submit a pull request.
📄 License
This package is open-source and licensed under the MIT license.
Developed with ❤️ by LaraExperts
lara-experts/forms 适用场景与选型建议
lara-experts/forms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 20 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「form-builder」 「ui-components」 「filamentphp」 「lara-experts」 「package-suite」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 lara-experts/forms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 lara-experts/forms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 lara-experts/forms 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The laravel-form-builder's bootstrap 4 template.
Form builder with Bootstrap v5/v4 classes, validation, Recaptcha support, AJAX submissions and more
A unified component library for Laravel applications supporting both Tailwind CSS (with Flowbite) and Bootstrap frameworks
Bootstrap 4 form builder for Laravel 5
A Toast notification library for the Laravel TALL stack. You can push notifications from the backend or frontend to render customizable toasts with almost zero footprint on the published CSS/JS!
The laravel-form-builder's Tailwind 2 template.
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-07