djordje / laravel-twbs-helpers
Laravel 4 - Twitter Bootstrap 3 Helpers (html builders)
dev-master
2013-10-27 12:19 UTC
Requires
- php: >=5.3.0
- illuminate/http: 4.0.x
- illuminate/support: 4.0.x
Requires (Dev)
- mockery/mockery: dev-master
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-18 17:14:16 UTC
README
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-group
wrapper with.list-group-item
child 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