If you find yourself entering the same HTML and blade code just to display an html form field, this package might be for you.
Pull this package in through Composer.
{
"require": {
"fuzaylov/bootstrap": "0.3.0"
}
}Note, for laravel 4, use fuzaylov/bootstrap version 0.2.5
Once installed, you need to register Laravel service provider, in your app/config/app.php:
'providers' => array(
...
'Illuminate\Html\HtmlServiceProvider',
'Fuzaylov\Bootstrap\BootstrapServiceProvider'
)
'aliases' => array(
...
'Form' => 'Illuminate\Html\FormFacade',
)See tests/sample.blade.php for some sample usages. For a full list of supported fields, see Bootstrap.php
Have fun!
Aleks