Download the PHP package pkkbkraa/laravel-livewire-forms without Composer
On this page you can find all versions of the php package pkkbkraa/laravel-livewire-forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pkkbkraa/laravel-livewire-forms
More information about pkkbkraa/laravel-livewire-forms
Files in pkkbkraa/laravel-livewire-forms
Package laravel-livewire-forms
Short Description A dynamic, responsive Laravel Livewire form component with realtime validation, file uploads, array fields, and more.
License MIT
Homepage https://github.com/pkkbkraa/laravel-livewire-forms
Informations about the package laravel-livewire-forms
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 pkkbkraa/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