Yii Bootstrap Demo

The aim of the project is to transform all bootstrap components into Yii Widgets and apply the bootstrap style to the default Yii Widgets.

Primary Action

Show Hero Source
$this->widget('EBootstrapHero', array(
	'headline' => EBootstrap::encode(Yii::app()->name),
	'body' => 'The aim of the project is to transform all <a href="http://twitter.github.com/bootstrap/">bootstrap</a> components into <a href="http://www.yiiframework.com/">Yii</a> Widgets and apply the bootstrap style to the default Yii Widgets.',
	'actions' => array(
		EBootstrap::ibutton('Primary Action', '#', 'primary', 'large'),
	),
));

How to use

See our custom code examples at the github wiki.

Easy to integrate into Yii:

  • Include the bootstrap css/less files
  • Download the extension
  • Unpack the extension and move the widgets folder to the protected folder
  • Import the widgets in your config

Includes

This Framework uses some 3rd party tools: