chronon/bootstrap

Twitter Bootstrap packaged as a CakePHP plugin.

Installs: 58

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 4

Forks: 2

Open Issues: 0

Language:JavaScript

Type:cakephp-plugin

2.3.1 2013-04-26 16:53 UTC

This package is not auto-updated.

Last update: 2024-12-21 16:46:30 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'
));