Download the PHP package vesperabr/laravel-form without Composer
On this page you can find all versions of the php package vesperabr/laravel-form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vesperabr/laravel-form
More information about vesperabr/laravel-form
Files in vesperabr/laravel-form
Package laravel-form
Short Description Laravel Form builder with Monalisa support.
License MIT
Informations about the package laravel-form
This Laravel package provides some Blade directives to made form creation a snap.
Installation
You can install this package via composer using:
The package will automatically register its service provider.
Configuration
If you want, you could enable Monalisa On Send component to prevent double click on form buttons and also put a nice loader on it.
To do that, you just need to publish the config file and then change the enable_onsend
parameter to true.
Usage
After install, you can use any of bellow directives in your blade files.
Blade directives avaiable
- f_open($action, $method, $model, $attributes)
- f_close()
- f_hidden($name, $attributes)
- f_text($name, $label, $required, $attributes)
- f_tel($name, $label, $required, $attributes)
- f_email($name, $label, $required, $attributes)
- f_url($name, $label, $required, $attributes)
- f_search($name, $label, $required, $attributes)
- f_password($name, $label, $required, $attributes)
- f_number($name, $label, $required, $attributes)
- f_cpfcnpj($name, $label, $required, $attributes)
- f_cpf($name, $label, $required, $attributes)
- f_cnpj($name, $label, $required, $attributes)
- f_cep($name, $label, $required, $attributes)
- f_money($name, $label, $required, $attributes)
- f_float($name, $label, $required, $attributes)
- f_date($name, $label, $required, $attributes)
- f_time($name, $label, $required, $attributes)
- f_file($name, $label, $required, $attributes)
- f_textarea($name, $label, $required, $attributes)
- f_select($name, $label, $required, $items, $attributes)
- f_select2($name, $label, $required, $items, $attributes)
- f_multiselect($name, $label, $required, $items, $attributes)
- f_multiselect2($name, $label, $required, $items, $attributes)
- f_checkbox($name, $label, $items, $checked)
- f_radio($name, $label, $items, $checked)
- f_buttons($submit_label, $cancel_link)
Requirements
- PHP 7.2
- Laravel 6
- Monalisa CSS & JS
This package wasn't been tested yet in older Laravel versions. Feel free to test and send us your experience.
License
The MIT License (MIT). Please see License File for more information.