djordje/laravel-twbs-helpers
Laravel Twitter Bootstrap Helpers
This package aims to provide helpers (html builders) for complex Twitter Bootstrap 3 elements.
For example build menu with properly classed active links...
Usage
Currently supported:
- ListGroup (build
.list-groupwrapper with.list-group-itemchild elements) docs - Nav (build list of links for
ul.nav) docs
Installation
Recommended installation is trough composer, add to your composer.json:
"require": {
"djordje/laravel-twbs-helpers": "dev-master"
}
Add service provider to your app/config/app.php file:
# ...
'providers' => array(
# ...
'Djordje\LaravelTwbsHelpers\LaravelTwbsHelpersServiceProvider',
),
# ...
Optionally you can add mostly used facades to your application aliases:
# ...
'aliases' => array(
# ...
'TwbsNav' => 'Djordje\LaravelTwbsHelpers\Facades\TwbsNav'
),
# ...
TODO
- Build more helpers
- Write bette documentation
