webandcow/bs_helpers

Extension of the CakePHP's FormHelper and HtmlHelper to use the framework Twitter Bootstrap v3.0.0 more easily

Installs: 1 066

Dependents: 0

Suggesters: 0

Security: 0

Stars: 26

Watchers: 5

Forks: 15

Open Issues: 2

Type:cakephp-plugin

2.2.0 2015-09-01 08:52 UTC

This package is auto-updated.

Last update: 2024-04-17 21:25:42 UTC


README

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.