Skip to content
This repository

Laravel Twitter Bootstrap Bundle

branch: master

Bootstrapper V4

Travis status : Build Status


This is the bundle version for Laravel 3. The latest version is on the develop branch.

Bootstrapper is a set of classes that allow you to quickly create Twitter Bootstrap style markup.


Install using Artisan CLI:

php artisan bundle:install bootstrapper

Add the following line to application/bundles.php

'bootstrapper' => array('auto' => true),

Add the following to the application.php config file:

'Alert'          => 'Bootstrapper\\Alert',
'Badge'          => 'Bootstrapper\\Badge',
'Breadcrumb'     => 'Bootstrapper\\Breadcrumb',
'Button'         => 'Bootstrapper\\Button',
'ButtonGroup'    => 'Bootstrapper\\ButtonGroup',
'ButtonToolbar'  => 'Bootstrapper\\ButtonToolbar',
'Carousel'       => 'Bootstrapper\\Carousel',
'DropdownButton' => 'Bootstrapper\\DropdownButton',
'Form'           => 'Bootstrapper\\Form',
'Helpers'        => 'Bootstrapper\\Helpers',
'Icon'           => 'Bootstrapper\\Icon',
'Image'          => 'Bootstrapper\\Image',
'Label'          => 'Bootstrapper\\Label',
'MediaObject'    => 'Bootstrapper\\MediaObject',
'Navbar'         => 'Bootstrapper\\Navbar',
'Navigation'     => 'Bootstrapper\\Navigation',
'Paginator'      => 'Bootstrapper\\Paginator',
'Progress'       => 'Bootstrapper\\Progress',
'Tabbable'       => 'Bootstrapper\\Tabbable',
'Table'          => 'Bootstrapper\\Table',
'Thumbnail'      => 'Bootstrapper\\Thumbnail',
'Typeahead'      => 'Bootstrapper\\Typeahead',
'Typography'     => 'Bootstrapper\\Typography',

Update laravel\database\query.php to use the Bootstrapper Paginator and not the core class by changing the use statement.

// Change
use Laravel\Paginator;

// To
use Paginator;

Publish the bundle assets to your public folder.

php artisan bundle:publish

Add the following to your template view file to include the Twitter Bootstrap CSS and Javascript.


View bundle site for full install instructions.

Current Twitter Bootstrap version is 2.2.2

Something went wrong with that request. Please try again.