LaravelPackages.net
Acme Inc.
Toggle sidebar
saimondev03/form

Advanced form generation for Laravel

47
0
0.1.0
About saimondev03/form

saimondev03/form is a Laravel package for advanced form generation for laravel. It currently has 0 GitHub stars and 47 downloads on Packagist (latest version 0.1.0). Install it with composer require saimondev03/form. Discover more Laravel packages by saimondev03 or browse all Laravel packages to compare alternatives.

Last updated

Saimondev03 Form

Build Status Latest Version on Packagist Total Downloads Version GitHub license

Advanced form generation for Laravel.

Requeriments

The current package requeriments are:

  • Laravel >= 7.3
  • PHP >= 7.3

Installation

You can install the package via composer:

composer require saimondev03/form

Usage

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.

Component rendering

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>

Component Field rendering without label

<x-form method="method">
    <x-field label="false" name="name" type="text" class="clasname" required />
</x-form>

Changelog

Please see CHANGELOG for more information what has changed recently.

Security

If you find any security issues, please email us at [email protected].

Credits

License

The MIT License (MIT). Please see License File for more information.

Comments