Download the PHP package braunson/laravel-html5-forms without Composer
On this page you can find all versions of the php package braunson/laravel-html5-forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download braunson/laravel-html5-forms
More information about braunson/laravel-html5-forms
Files in braunson/laravel-html5-forms
Package laravel-html5-forms
Short Description This package extends Laravel's FormBuilder to include some (soon all) HTML5 elements
License MIT
Informations about the package laravel-html5-forms
HTML5 Forms for Laravel
This package extends Laravel's FormBuilder to include some (soon all) HTML5 elements.
How to Install
-
Install the
braunson/laravel-html5-forms
package - Update
app/config/app.php
to activate the package
Usage / Supported Element Types
Since the package extends the default FormBuilder, you can just use Form::field() like you would normally but with the following supported items.
- Color
- Date
- Time
- Datetime
- Datetime-local
- Week
- Month
- Number
- Range
- Search
- Tel
- Time
- URL
Color
Date
This field requires you input atleast min or max or both fields.
Time
Datetime
Datetime-local
Week
Month
Number
To specify a min/max range, add to your options array. By default if no minmax is specified, it is min 0 and max 10.
Tip: To not output min/max, specify in options array 'minmax' => false
Range
To specify a min/max range, add to your options array. By default if no minmax is specified, it is min 0 and max 10.
Tip: To not output min/max, specify in options array 'minmax' => false
Search
Tel
URL
Reporting Bugs or Feature Requests
Please report any bugs or feature requests on the github issues page for this project here:
https://github.com/Braunson/laravel-html5-forms/issues
Contributing
- Fork the Laravel-HTML5-Forms on github
- Commit and push until you are happy with your contribution
- Run the tests to make sure they all pass:
composer install && ./vendor/bin/phpunit
- Make a pull request
- Thanks!