Downloads
Stars
Version
Advanced form generation for Laravel.
The current package requeriments are:
You can install the package via composer:
composer require saimondev03/form
You can use <x-field />
to create your new form field
You can customize the form field by passing attributes such as name, id, class, type, etc.
You can customize the form methods by passing the method in the form component with respective name example get, post, put, patch, delete.
To render the component, you can use a Blade component tag inside one of your Blade templates. Blade component tags begin with the string x- followed by the component name:
<x-form method="method">
<x-field />
</x-form>
<x-form>
<x-field name="name" type="text" class="clasname" required />
</x-form>
<x-form method="method">
<x-field label="false" name="name" type="text" class="clasname" required />
</x-form>
Please see CHANGELOG for more information what has changed recently.
If you find any security issues, please email us at [email protected].
The MIT License (MIT). Please see License File for more information.