chronon/bootstrap

Twitter Bootstrap packaged as a CakePHP plugin.

2.3.1 2013-04-26 16:53 UTC

README

DEPRECATION NOTICE: This CakePHP 2.x plugin is deprecated and will most likely not be updated.

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'
));