New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

gustiawan/livewire-form-builder

Livewire Form Builder
9
Install
composer require gustiawan/livewire-form-builder
Latest Version:0.7.0
PHP:>=8.0
Laravel:9
Last Updated:Jan 30, 2023
Links: GitHub  ·  Packagist
Maintainer: agus24

USAGE

public function mount()
{
    $this->formBuilder = FormBuilder::add(
        type: 'password',
        label: "Old Password",
        model: 'old_password',
        class: "form-control"
    )->add(
        type: 'password',
        label: "New Password",
        model: 'new_password',
        class: "form-control"
    )->add(
        type: 'password',
        label: "Re-type Password",
        model: "confim_password",
        class: "form-control",
    )->getFields();
}

then your view

  @livewire('form-builder', [
    "formBuilder" => $formBuilder,
    "rules" => [...], // fill your validation rules
    "message" => [...]] // fill your custom message if you want
  )

Related Packages

gustiawan/laravel-form-builder

Laravel Form Builder

2,506 0
iyoworks/form-builder

An Object Oriented form builder that extracts form presentation from form creati...

173 2
jarnstedt/former

Laravel 4 form builder with Twitter Bootstrap styling

75 4
kris/laravel-form-builder

Laravel form builder - symfony like

2,377,480 1,712
vluzrmos/collective-html

LaravelCollective Html and Form builder for Lumen.

23,886 22

Version History

Version Released PHP Laravel License
0.7.0 >=8.0 ^9.0
0.6.1 >=8.0 ^9.0
0.6.0 >=8.0 ^9.0