fuzaylov / bootstrap by fuzaylov

Helper library to create Bootstrap html fields
113
6
2
Package Data
Maintainer Username: fuzaylov
Package Create Date: 2014-07-31
Package Last Update: 2015-06-24
Language: PHP
License: MIT
Last Refreshed: 2024-05-08 03:15:26
Package Statistics
Total Downloads: 113
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 6
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel Bootstrap Helpers

If you find yourself entering the same HTML and blade code just to display an html form field, this package might be for you.

Install

Pull this package in through Composer.

{
    "require": {
        "fuzaylov/bootstrap": "0.3.0"
    }
}

Laravel 5

Note, for laravel 4, use fuzaylov/bootstrap version 0.2.5

Once installed, you need to register Laravel service provider, in your app/config/app.php:

'providers' => array(
	...
	'Illuminate\Html\HtmlServiceProvider',
    'Fuzaylov\Bootstrap\BootstrapServiceProvider'
)

'aliases' => array(
    ...
    'Form'      => 'Illuminate\Html\FormFacade',
)

Usage

See tests/sample.blade.php for some sample usages. For a full list of supported fields, see Bootstrap.php

Have fun!

Aleks