Complete form builder system with 30+ field types, validation, and Blade/Inertia.js integration for Laravilt. Build complex forms with text inputs, selects, date pickers, file uploads, rich editors, repeaters, and more.
- π 30+ Field Types - TextInput, Select, DatePicker, FileUpload, RichEditor, Repeater, and more
- β Validation - Built-in Laravel validation integration
- π¨ Blade Components - Pre-built UI components with Reka UI styling
- β‘ Inertia Integration - Seamless Vue 3 form handling
- π Real-time Reactivity - Dynamic field visibility, options, and validation
- π File Management - Advanced file upload with preview and validation
- π Rich Content - WYSIWYG editor, Markdown editor, code editor support
composer require laravilt/formsuse Laravilt\Forms\Components\TextInput;
use Laravilt\Forms\Components\Select;
$form->schema([
TextInput::make('name')
->label('Full Name')
->required(),
Select::make('role')
->label('Role')
->options([
'admin' => 'Administrator',
'editor' => 'Editor',
])
->required(),
]);# Generate a form class
php artisan make:form UserForm
# Generate a resource form with CRUD operations
php artisan make:form UserForm --resource
# Generate a custom field component
php artisan make:component CustomField- Complete Documentation - All field types, validation, and examples
- MCP Server Guide - AI agent integration
Basic: TextInput, Textarea, NumberField, Select, Checkbox, CheckboxList, Radio, Toggle, ToggleButtons, Hidden
Date & Time: DatePicker, DateTimePicker, TimePicker, DateRangePicker
Advanced: ColorPicker, IconPicker, FileUpload, RichEditor, MarkdownEditor, CodeEditor, TagsInput, KeyValue, Slider, RateInput, PinInput
Dynamic: Repeater, Builder
php artisan vendor:publish --tag="laravilt-forms-config"
php artisan vendor:publish --tag="laravilt-forms-views"
php artisan vendor:publish --tag="laravilt-forms-assets"composer testThe MIT License (MIT). Please see License File for more information.
