monurakkaya / laravel-formgroup
A blade input component for laravel & bootstrap3. Build a form with thousands of inputs within minutes!
Installs: 760
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
README
$ composer require monurakkaya/laravel-formgroup
Usage
Text Input:
@formgroup([ 'type' => 'text', 'name' => 'color', 'required' => true ]) Color @endformgroup
It will generate below html code :
<div class="form-group"> <label><strong>Color</strong></label> <input type="text" name="color" class="form-control" required="" value=""> </div>
DateTime Input:
@formgroup([ 'name' => 'start_at', 'type' => 'datetime' ]) Alis Tarihi @endformgroup
It will generate a datetime picker: