chronon/bootstrap

Twitter Bootstrap packaged as a CakePHP plugin.

Installs: 33

Dependents: 0

Stars: 3

Watchers: 1

Forks: 2

Language: JavaScript

2.3.1 2013-04-26 16:53 UTC

README

Twitter Bootstrap packaged as a plugin.

Installation:

Using Composer/Packagist:

In your project composer.json file:

{
    "require": {
        "chronon/bootstrap": "*"
    }
}

This will install the plugin into Plugin/Bootstrap.

Using git:

git clone git@github.com:chronon/CakePHP-Bootstrap-Plugin.git APP/Plugin/Bootstrap

Usage:

In your app's Config/bootstrap.php:

<?php
CakePlugin::loadAll(array(
    'Bootstrap'
));

In your layout:

<?php
echo $this->Html->css(array(
    'Bootstrap.bootstrap.min.css',
    'Bootstrap.bootstrap-responsive.min.css'
)); 
<?php
echo $this->Html->script(array(
    '//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js',
    'Bootstrap.bootstrap.min.js'
));