Skip to content
Front-End Framework Helpers for CakePHP 3.0
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/View/Helper
README.md
composer.json

README.md

Front-End Framework Helpers

This plugins goal is to help you speed up implementing a Front-End framework like Bootstrap.

This plugin does not load the required CSS or JavaScript, but merely adds the classes and markup,

Installation

Run composer require commercial-hippie/chocolate:dev-master or add the following into your composer.json and run composer update.

"require" : {
  "commercial-hippie/chocolate": "dev-master"
}

Load the plugin in your bootstrap file

// /src/Config/bootstrap.php
Plugin::load('Chocolate');

Usage

Bootstrap

Make sure you loaded the required CSS/JavaScript for what you are trying to do.

Forms

Load the plugins FormHelper in your Controller:

public $helpers = [
	'Form' => [
		'className' => 'Chocolate.BootstrapForm'
	]
];
You can’t perform that action at this time.