wotz/laravel-livewire-forms

Easy to build/use livewire forms.
1,359
Install
composer require wotz/laravel-livewire-forms
Latest Version:v5.1.0
PHP:^8.3
License:MIT
Last Updated:Apr 17, 2026
Links: GitHub  ·  Packagist
Maintainer: Who Owns The Zebra

Laravel Livewire Forms

Package to easily configure Livewire forms with a set of existing fields.

Installation

You can install the package via composer:

composer require wotz/laravel-livewire-forms

You can publish the config file with:

php artisan vendor:publish --tag="laravel-livewire-forms-config"

This is the contents of the published config file:

return [
    'defaults' => [
        'formClass' => 'd-flex flex-column gap-8',
        'rowClass' => 'row gy-8',
        'colClass' => 'col-md',
        'divClass' => 'form-group has-validation',
        'groupClass' => 'd-flex flex-column gap-8',
        'inputClass' => 'form-control',
        'inputSelectClass' => 'form-select',
        'labelClass' => 'form-label',
        'fileInputClass' => 'form-input-file',
        'fileInputLabelClass' => 'form-label-file',
        'checkInputClass' => 'form-check-input',
        'checkLabelClass' => 'form-check-label',
        'buttonClass' => 'btn btn--primary',
        'buttonIcon' => null,
        'textareaRows' => 5,
    ]
];

Optionally, you can publish the views using

php artisan vendor:publish --tag="laravel-livewire-forms-views"

Usage

@livewire('registration-form')

Documentation

For the full documentation, check here.

AI Guidelines

This package includes AI guidelines and skills for Laravel Boost, providing AI agents with context about the package's conventions and best practices.

When using Laravel Boost, run:

php artisan boost:install

The installer will automatically detect this package and include its guidelines. The wotz-livewire-forms skill will also be available for on-demand detailed guidance while building forms.

Learn more in https://laravel.com/docs/12.x/boost.

Testing

vendor/bin/pest

Changelog

Please see CHANGELOG for more information on what has changed recently.

Upgrading

Please see UPGRADING for more information on how to upgrade to a new version.

Related Packages

reliese/laravel

Reliese Components for Laravel Framework code generation.

3,954,390 1,705
php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,312 160
laravel-ja/laravel

The Laravel Framework.

5,667 17
kavenegar/laravel

laravel 4 and 5 kavenegar integration

366,462 86
laravel/laravel

The skeleton application for the Laravel framework.

64,738,171 84,935