CakePHP 3.0 Helpers to generate HTML with @Twitter Boostrap style: Html
, Form
, Modal
and Paginator
helpers available!
Installation
If you want the latest Bootstrap 3 version of the plugin:
composer require holt59/cakephp3-bootstrap-helpers:~3.0
If you are updating from holt59/cakephp3-bootstrap3-helpers
, do not forget to change the the following:
// in config/bootstrap.php
Plugin::load('Bootstrap') ; // instead of Plugin::load('Bootstrap3') ;
// in your AppController
public $helpers = [
'Form' => [
'className' => 'Bootstrap.BootstrapForm' // instead of 'Bootstrap3.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
Copyright 2013 Mikaël Capelle.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.