Giter VIP home page Giter VIP logo

bootstrapper's Introduction

Bootstrapper V4

Travis status : Build Status

HEADS UP

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.

Installation

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.

Asset::container('bootstrapper')->styles();
Asset::container('bootstrapper')->scripts();

View bundle site for full install instructions.

http://bootstrapper.aws.af.cm/

Current Twitter Bootstrap version is 2.2.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.