alescx / chocolate
Front-End Framework FormHelpers for CakePHP 3.0
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 3
Type:cakephp-plugin
Requires
Requires (Dev)
- cakephp/cakephp: 3.0.x-dev
This package is not auto-updated.
Last update: 2024-11-13 08:57:43 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' ] ];