This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel 5 FormBuilder for Blade Engine and the Twitter Bootstrap CSS Framework

0.1.1 2016-09-07 11:18 UTC

This package is auto-updated.

Last update: 2024-01-23 05:02:23 UTC


Laravel 5.1 FormBuilder for Blade Engine and the Twitter Bootstrap CSS Framework.

Latest Stable Version Latest Unstable Version License Total Downloads

This FormBuilder enhances the Laravel Collective FormBuilder for its use within the Bootstrap CSS Framework.


$> composer require "rokde/laravel-bootstrap-formbuilder:~0.1"

For Laravel 5.1:

$> composer require "rokde/laravel-bootstrap-formbuilder:~0.0.1"

Then updating:

$> composer update

Next, add your new provider to the providers array of config/app.php:


Finally, add two class aliases to the aliases array of config/app.php:

'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,

We use the Facades from Laravel Collective.


All Bootstrap recommendations for form and input elements are built in, so you do not have to worry about the right classes and tag-soup.

Form Groups

{!! Form::openGroup('name', 'Name') !!}
	{!! Form::text('name') !!}
{!! Form::closeGroup() !!}

Will render:

<div class="form-group"><label for="name">Name</label>
	<input class="form-control" name="name" type="text" id="name">

Error handling is also included.

Further Resources

Heavily inspired by Easy Bootstrap Forms In Laravel, so the main credits goes to Stidges.

You can read at Laravel Collective another usage examples.