LaravelPackages.net
Acme Inc.
Toggle sidebar
etsvthor/laravel-livewire-forms

A dynamic, responsive Laravel Livewire form component with realtime validation, file uploads, array fields, and more.

342
2
3.0.2
About etsvthor/laravel-livewire-forms

etsvthor/laravel-livewire-forms is a Laravel package for a dynamic, responsive laravel livewire form component with realtime validation, file uploads, array fields, and more.. It currently has 2 GitHub stars and 342 downloads on Packagist (latest version 3.0.2). Install it with composer require etsvthor/laravel-livewire-forms. Discover more Laravel packages by etsvthor or browse all Laravel packages to compare alternatives.

Last updated

Laravel Livewire Forms

Latest Version on Packagist

Laravel Livewire Forms

A dynamic, responsive Laravel Livewire form component with realtime validation, file uploads, array fields, and more.

Installation

Make sure you've installed Laravel Livewire.

Installing this package via composer:

composer require etsvthor/laravel-livewire-forms

This package was designed to work well with Laravel frontend scaffolding.

If you're just doing scaffolding now, you'll need to add @stack('scripts'), @livewireScripts, and @livewireStyles blade directives to your resources/views/layouts/app.blade.php file:

<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
@livewireStyles

...

<!-- Scripts -->
<script src="{{ asset('js/app.js') }}"></script>
@livewireScripts
@stack('scripts')

This package also uses Font Awesome for icons. If you don't already have it installed, it's as simple as:

npm install @fortawesome/fontawesome-free

Then add the following line to resources/sass/app.scss:

@import '~@fortawesome/fontawesome-free/css/all.min.css';

Now all that's left is to compile the assets:

npm install && npm run dev

Documentation

See the documentation here

Comments