mzm / html-builder
A Livewire-based form builder package for Laravel.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.2
- livewire/livewire: ^3.6.4
This package is auto-updated.
Last update: 2025-10-03 08:45:51 UTC
README
A dynamic, Livewire-based form builder for Laravel applications.
Introduction
mzm/html-builder
is a Laravel package designed to simplify the creation of dynamic and interactive forms. Built on the TALL stack (Tailwind CSS, Alpine.js, Livewire, Laravel), it provides a component-based architecture that allows you to construct complex forms with ease.
The core of the package is a FormBuilder
Livewire component that dynamically renders various form elements, such as text inputs, select boxes, and more. It's designed to be extensible, allowing you to create your own custom form elements.
Features
- Dynamic Form Generation: Build forms from configuration arrays or database schemas.
- Component-Based: Each form element is a self-contained Livewire component.
- Extensible: Easily add your own custom form elements.
- Tailwind CSS: Comes with pre-compiled, customizable Tailwind CSS for a modern look.
- Livewire Powered: Enjoy real-time validation and interactive form elements without page reloads.
Requirements
- PHP 8.2 or higher
- Laravel 11.x or higher
- Livewire 3 or higher
Basic Usage
-
Installation:
composer require mzm/html-builder
-
Run Migrations: The package may come with database migrations to manage its data. Run the standard migrate command to update your database schema.
php artisan migrate
Demo
-
Run From Browser:
Please write the url with folowing example -
Create New Form:
Click menu Form -> Builder -
To list kk creatd form:
Click menu Form -> All Forms -
Try submit new form:
Click menu Form -> All Forms -> New Response (Actions Colmn)
License
The MIT License (MIT). Please see License File for more information.