承接 itchaos/bootstrap-checkbox-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

itchaos/bootstrap-checkbox-bundle

Composer 安装命令:

composer require itchaos/bootstrap-checkbox-bundle

包简介

README 文档

README

This is just simple wrapping bundle for Bootstrap Checkbox.

Minimal Requirements

  • php 5.6
  • symfony 2.3
  • twig 1.0

Instalation

  1. Add to composer requirements
composer require itchaos/bootstrap-checkbox-bundle
  1. Register bundle in Your AppKernel
<?php
//..
public function registerBundles()
{
    $bundles = array(
        // ...
        new ITChaos\Bundle\BootstrapCheckboxBundle\BootstrapCheckboxBundle()
        // ...
    );
    return $bundles;
}
  1. Add bundle js resources to assetic
assetic:
    bundles:
        - BootstrapCheckboxBundle
  1. Add asset to your layout
{% javascripts
    '@BootstrapCheckboxBundle'
%}
<script type="text/javascript" src="{{ asset_url }}"></script>

Usage

Bundle provides you with new form type BootstrapCheckboxType which descends from regular Symfonys CheckboxType. It has same usage but is rendered next to label instead inside (as in most Bootstrap bundles). All properties for bootstrap checkbox from vsn4ik/bootstrap-checkbox are exposed by BootstrapCheckboxType as described in wrapped plugins documnetation available here: BootstrapCheckbox documentation

The main difference is expanding parameter names containing cls to class.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固