alescx/chocolate

Front-End Framework FormHelpers for CakePHP 3.0

Maintainers

Details

github.com/alescx/chocolate

Source

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 3

Type:cakephp-plugin

dev-master 2015-03-26 07:55 UTC

This package is not auto-updated.

Last update: 2024-04-17 06:29:15 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 alescx/chocolate:dev-master or add the following into your composer.json and run composer update.

"require" : {
  "alescx/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'
	]
];