holt59/cakephp4-bootstrap-helpers
Composer 安装命令:
composer require holt59/cakephp4-bootstrap-helpers
包简介
Bootstrap Helpers for CakePHP 4.0
关键字:
README 文档
README
CakePHP 4.x Helpers to generate HTML with @Twitter Boostrap style: Breadcrumbs, Flash, Form, Html, Modal, Navbar,
Card and Paginator helpers available!
How to... ?
Installation
If you want the Bootstrap 4 version of the plugin:
- Add the plugin to your
composer.json:
# Stable version:
composer require holt59/cakephp3-bootstrap-helpers:4.0.3
- Load the helpers you want in your
View/AppView.php:
$this->loadHelper('Html', [ 'className' => 'Bootstrap.Html', // Other configuration options... ]);
Breaking changes from previous versions
-
FormHelper:- it is not possible to place error message in a separate column in horizontal form, the error message will always be put below the input.
-
NavbarHelper:- the following options of the
create()methods have been removed or have had their meaning changed:staticis nowstickyresponsivehas been dropped and replace by acollapseoption with the following meaning:truefor always collapsed,falsefor never collapsed, or a string representing indicating when the content should collapse ('lg'is the default).fluidhas been dropped.containeris a new option (bool, default isfalse) to indicate if the content of the navbar should be wrapped inside a<div class="container"></div>.inversehas been dropped.
- a new
themeoption has been added to thecreate()method to control, possible values are'light','dark',false(no theme), or an array[$theme, $bg]. - when adding a
link()to an inner menu, the$linkOptionsparameters is not usable anymore and the$optionsparameters should be used directly (their are no wrapping<li>anymore for inner menu).
- the following options of the
The full plugin documentation is available at https://cakephp-bootstrap.github.io/cakephp3-bootstrap-helpers/.
Table of version and requirements
| Version | Bootstrap version | CakePHP version | Information |
|---|---|---|---|
| master | 4 | >= 3.7.0 | Current active V4 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-2020, 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.
holt59/cakephp4-bootstrap-helpers 适用场景与选型建议
holt59/cakephp4-bootstrap-helpers 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 46.6k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2020 年 11 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「bootstrap」 「cakephp」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 holt59/cakephp4-bootstrap-helpers 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 holt59/cakephp4-bootstrap-helpers 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 holt59/cakephp4-bootstrap-helpers 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
Email Toolkit Plugin for CakePHP
Rhino, a CMS and Application-Framework plugin for CakePHP
A CakePHP plugin for sending mail via SparkPost's REST API
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 46.6k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 19
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-16