Front-End Framework FormHelpers for CakePHP 3.0

Installs: 756

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 3

Open Issues: 0

Type:cakephp-plugin

dev-master 2015-09-23 08:55 UTC

This package is not auto-updated.

Last update: 2025-07-05 19:13:33 UTC


README

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'
	]
];