Download the PHP package mashfiqdev/form_maker without Composer
On this page you can find all versions of the php package mashfiqdev/form_maker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mashfiqdev/form_maker
More information about mashfiqdev/form_maker
Files in mashfiqdev/form_maker
Package form_maker
Short Description This package helps you to make your desired form. You can pass values, types, id, styles to the helpers.
License MIT
Informations about the package form_maker
Laravel Form Maker
Form maker for Laravel inspired by Laravel form builder. With the help of Form Maker views, forms can be modified and reused easily. You can pass style, values, types to the helpers.
Features
- Style - Pass style to the helper to customize element
- Value - Pass value to the helper to get the data from the particular field
- Type - Set the type of the input field such as email, number, tel etc.
- Active - Active the desired radio button or select field.
- Required - Handle the required field of the form
Requirements
Quick Installation
Via Composer
For Laravel version < 5.5
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
Usage
You can use this in your blade file to make your form.
For Input Element
You have to store the style containing classes, value, type, id, name in a variable like this:
And include the HTML input element like this:
For Select Element
You have to store the style containing classes, value, id, name, active field, required status in a variable like this:
And include the HTML input element like this:
For Checkbox Element
You have to store the style containing classes, value, id, name, active field, required status in a variable like this:
And include the HTML input element like this:
For Radio Element
You have to store the style containing classes, value, id, name, active field, required status in a variable like this:
And include the HTML input element like this:
So, Your final form could be like this:
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.