djordje / laravel-twbs-helpers by djordje

Laravel 4 - Twitter Bootstrap 3 Helpers (html builders)
56
0
1
Package Data
Maintainer Username: djordje
Package Create Date: 2013-10-27
Package Last Update: 2013-10-27
Language: PHP
License: MIT
Last Refreshed: 2024-03-27 03:22:59
Package Statistics
Total Downloads: 56
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Laravel Twitter Bootstrap Helpers

Build Status

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
Released under MIT licence.