CakePHP 3.0 Helpers to generate HTML with @Twitter Boostrap style: Flash
, Form
, Html
, Modal
, Navbar
, Panel
and Paginator
helpers available!
Installation
If you want the latest Bootstrap 3 version of the plugin:
composer require holt59/cakephp3-bootstrap-helpers:dev-master
// in config/bootstrap.php
Plugin::load('Bootstrap');
// in your AppController
public $helpers = [
'Form' => [
'className' => 'Bootstrap.BootstrapForm'
],
/* ... */
];
If you want to test the Bootstrap 4 version of the plugin (alpha):
composer require holt59/cakephp3-bootstrap-helpers:dev-v4.0.0-alpha
Documentation
The full plugin documentation is available at https://holt59.github.io/cakephp3-bootstrap-helpers/.
Contributing
Do not hesitate to post a github issue or submit a pull request if you find a bug or want a new feature.
Non-exhaustive list of projects using these helpers, if you want to be in this list, do not hesitate to email me or post a comment on this issue.
- [CakeAdmin] (https://github.com/cakemanager/cakeadmin-lightstrap), LightStrap Theme for CakeAdmin
The MIT License (MIT)
Copyright (c) 2013-2016, Mikaël Capelle.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
See LICENSE.