WebAndCow / CakePHP-BsHelpers

Extension of the CakePHP's FormHelper and HtmlHelper to use the framework Bootstrap v3 more easily
http://webandcow.github.io/CakePHP-BsHelpers/
MIT License
26 stars 15 forks source link

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:

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

License

BsHelpers is licensed under the MIT license.