Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 2.4 KB

README.md

File metadata and controls

64 lines (39 loc) · 2.4 KB

Ce repo n'est plus maintenu

BsFormHelper and BsHelper

Join the chat at https://gitter.im/WebAndCow/CakePHP-BsHelpers

Build Status Coverage Status Packagist Dependency Status Dependency Status

Extension of the CakePHP's FormHelper to use the framework Bootstrap v3 more easily.

The full documentation is available here : http://webandcow.github.io/CakePHP-BsHelpers

Installation

Ensure require is present in composer.json. This will install the plugin into Plugin/BsHelpers:

{
	"require": {
		"webandcow/bs_helpers": "*"
	}
}

Enable plugin

You need to enable the plugin in your app/Config/bootstrap.php file:

CakePlugin::load('BsHelpers');

If you are already using CakePlugin::loadAll();, then this is not necessary.

Then, add those following lines in your app/Controller/AppController.php file :

class AppController extends Controller {
         public $helpers = array('BsHelpers.Bs', 'BsHelpers.BsForm');
}

##Versioning

BsHelpers will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major (and resets the minor and patch)
  • New features, without breaking backward compatibility bumps the minor (and resets the patch)
  • Bug fixes bumps the patch

For more information on SemVer, please visit http://semver.org.

##License

BsHelpers is licensed under the MIT license.