Warning: Works only with CakePHP 2.x!, (*1)
CakePHP 2.x Helpers for Bootstrap 4
CakePHP Helpers to generate HTML with @Twitter Boostrap 4 style., (*2)
Based on the Plugin by https://github.com/Holt59/cakephp-bootstrap3-helpers, (*3)
Do not hesitate to...
- Post a github issue if you find a bug or want a new feature.
- Send me a message if you have troubles installing or using the plugin., (*4)
Installation
Simply Clone the repository in your app/Plugin/Bootstrap4
folder and add the following to your app/Config/bootstrap.php
:, (*5)
CakePlugin::load('Bootstrap4') ;
How to use?
Just load the helpers in you controller:, (*6)
public $helpers = array(
'Html' => array(
'className' => 'Bootstrap4.BootstrapHtml'
),
'Form' => array(
'className' => 'Bootstrap4.BootstrapForm'
),
'Modal' => array(
'className' => 'Bootstrap4.BootstrapModal'
)
);