libriciel / cakephp4-bootstrap-helpers
Bootstrap Helpers for CakePHP 3.0
Requires
- php: >=5.5.9
- cakephp/cakephp: >=3.7.0
Requires (Dev)
- cakephp/cakephp-codesniffer: ~2.1
- phpunit/phpunit: <6.0
- dev-master
- 4.1.0
- v4.0.3.x-dev
- v4.0.2
- v3.1.4.x-dev
- v3.1.4
- v3.1.3.x-dev
- v3.1.3
- v3.1.2.x-dev
- v3.1.2
- v3.1.1.x-dev
- v3.1.1
- v3.1.0
- v3.0.7
- v3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- dev-php83
- dev-cake4-bs4-1.0.0
- dev-4.0.1-alpha
- dev-cakephp-3.8-support
- dev-fix-cakephp-3.7
- dev-fix-travis-cakephp-3.7
- dev-icon-helper
- dev-new-travis
- dev-fix-issue-144
- dev-v4-updated
- dev-stacked-states
- dev-tab-helper
This package is auto-updated.
Last update: 2024-11-18 10:07:58 UTC
README
CakePHP 3.x Helpers to generate HTML with @Twitter Boostrap style: Breadcrumbs
, Flash
, Form
, Html
, Modal
, Navbar
,
Panel
and Paginator
helpers available!
How to... ?
Installation
If you want the latest Bootstrap 3 version of the plugin:
- Add the plugin to your
composer.json
(see below if you want to use another branch / version):
composer require holt59/cakephp3-bootstrap-helpers:dev-master
// Or the following if you want to use the Bootstrap 4 version (alpha)
composer require holt59/cakephp3-bootstrap-helpers:dev-4.0.1-alpha
- Load the plugin in your
config/bootstrap.php
:
Plugin::load('Bootstrap');
- Load the helpers you want in your
View/AppView.php
:
$this->loadHelper('Html', [
'className' => 'Bootstrap.Html',
// Other configuration options...
]);
The full plugin documentation is available at https://holt59.github.io/cakephp3-bootstrap-helpers/.
Table of version and requirements
Version | Bootstrap version | CakePHP version | Information |
---|---|---|---|
Version | Bootstrap version | CakePHP version | Information |
--------- | ------------------- | ----------------- | ------------- |
master | 3 | >= 3.7.0 | Current active V3 branch. |
4.0.3 | 4 | >= 3.7.0 | Current active V4 branch. |
4.0.2 | 4 | >= 3.7.0 | Latest V4 release. |
3.1.4 | 3 | >= 3.7.0 | Open issue(s) if necessary. |
<= 3.1.2 | 3 | < 3.4.0 | Deprecated. |
Contributing
Do not hesitate to post a github issue or submit a pull request if you find a bug or want a new feature.
Who is using it?
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 and license
The MIT License (MIT)
Copyright (c) 2013-2017, 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.