CakePHP 3.x Helpers for Bootstrap 3
Branch: master
Clone or download
Holt59 Merge pull request #170 from alphp/patch-1
Option 'required' is required for _parseOptions()
Latest commit e9be7dc Jan 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
src Option 'required' is required for _parseOptions() Jan 10, 2019
tests Fix tests and travis for CakePHP 3.7. Dec 23, 2018
.gitattributes Adding gitattributes file for managing line ending conversions. Apr 1, 2016
.gitignore Add .gitignore file from cakephp/cakephp. Apr 1, 2016
.travis.yml Fix tests and travis for CakePHP 3.7. Dec 23, 2018
LICENSE
README.md Fix requirements (>= 3.5.0). Apr 28, 2018
composer.json Fix requirements (>= 3.5.0). Apr 28, 2018
phpunit.xml.dist Clean travis config. Feb 21, 2016

README.md

CakePHP 3.x Helpers for Bootstrap

Software License Travis Packagist

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');
$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
master 3 >= 3.5.0 Current active branch.
3.1.2 3 >= 3.4.0, < 3.5.0 Not actively maintained (open issue(s) if necessary).
<= 3.1.1 3 < 3.4.0 Deprecated.
4.0.1-alpha 4 >= 3.4.0 Alpha, not all helpers are available.

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.

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.