webandcow / bs_helpers
Extension of the CakePHP's FormHelper and HtmlHelper to use the framework Twitter Bootstrap v3.0.0 more easily
Installs: 1 069
Dependents: 0
Suggesters: 0
Security: 0
Stars: 26
Watchers: 5
Forks: 15
Open Issues: 2
Type:cakephp-plugin
Requires
- php: >=5.3
- composer/installers: *
Requires (Dev)
- cakephp/cakephp-codesniffer: 1.*
- phpunit/phpunit: 3.7.38
Suggests
- jasny/bootstrap: The missing bootstrap components
- twbs/bootstrap: Bootstrap framework
This package is auto-updated.
Last update: 2024-12-17 22:59:49 UTC
README
BsFormHelper and BsHelper
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.