alescx/chocolate

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Front-End Framework FormHelpers for CakePHP 3.0

Maintainers

Details

github.com/alescx/chocolate

Source

Installs: 13

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: 2021-11-30 19:03:55 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'
	]
];