A CodeIgniter helper which generates Bootstrap-specific HTML.
This helper is in active development; some documentation is currently available.
-
Load Bootstrap into a CodeIgniter project.
-
Download this repository and extract the archive contents.
-
Copy
bootstrap_helper.php
into your application's/helpers
folder. -
Either load the helper as-needed:
$this->load->helper('bootstrap');
or autoload globally by editing /application/config/autoload.php
:
/*
| -------------------------------------------------------------------
| Auto-load Helper Files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['helper'] = array('url', 'file');
*/
$autoload['helper'] = array('bootstrap');
- PHP >= 5.1.6
- CodeIgniter >= 2.0
- Bootstrap >= 3.0