holt59/cakephp-bootstrap3-helpers 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

holt59/cakephp-bootstrap3-helpers

Composer 安装命令:

composer require holt59/cakephp-bootstrap3-helpers

包简介

Bootstrap 3 Helpers for CakePHP 2.x

README 文档

README

CakePHP Helpers to generate HTML with @Twitter Boostrap 3 style.

Warning: Works only with CakePHP 2.x!

Looking for CakePHP 3.0 helpers? Check it out! https://github.com/Holt59/cakephp3-bootstrap3-helpers

Do not hesitate to...

  • Post a github issue if you find a bug or want a new feature.
  • Send me a message if you have troubles installing or using the plugin.

Installation

Simply Clone the repository in your app/Plugin/Bootstrap3 folder and add the following to your app/Config/bootstrap.php:

CakePlugin::load('Bootstrap3') ;

How to use?

Just load the helpers in you controller:

public $helpers = array(
    'Html' => array(
        'className' => 'Bootstrap3.BootstrapHtml'
    ),
    'Form' => array(
        'className' => 'Bootstrap3.BootstrapForm'
    ),
    'Modal' => array(
        'className' => 'Bootstrap3.BootstrapModal'
    )
);

Documentation

Current documentation available on the CakePHP 3.0 helpers repository: https://github.com/Holt59/cakephp3-bootstrap3-helpers

Note: If you are using an old PHP version, you must change [] to array().

Warning: The BootstrapFormHelper configuration is not available for the CakePHP 2.x helpers.

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.

统计信息

  • 总下载量: 13.91k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 26
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 26
  • Watchers: 7
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-08-11