Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1007 Bytes

README.md

File metadata and controls

58 lines (38 loc) · 1007 Bytes

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 codedor/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' => [
        'inputClass' => '',
        'divClass' => 'col-6',
    ]
];

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.

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.