Skip to content

chronon/CakePHP-Bootstrap-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

CakePHP Twitter Bootstrap Plugin

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

About

Twitter Bootstrap packaged as a CakePHP plugin.

Resources

Stars

Watchers

Forks

Packages

No packages published