PHPackages                             quansitech/qscmf-builderitem-checkbox-text - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. quansitech/qscmf-builderitem-checkbox-text

ActiveLibrary[Admin Panels](/categories/admin)

quansitech/qscmf-builderitem-checkbox-text
==========================================

qscmf formbuilder listbuilder item

v1.0.1(3y ago)0451MITJavaScriptPHP &gt;=8.0.0

Since Jan 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/quansitech/qscmf-builderitem-checkbox-text)[ Packagist](https://packagist.org/packages/quansitech/qscmf-builderitem-checkbox-text)[ RSS](/packages/quansitech-qscmf-builderitem-checkbox-text/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

qscmf-builderitem-checkbox-text
===============================

[](#qscmf-builderitem-checkbox-text)

checkbox-text builder组件

#### 效果截图

[](#效果截图)

[![](https://github.com/quansitech/files/raw/master/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230118113942.png)](https://github.com/quansitech/files/blob/master/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230118113942.png)

[![](https://github.com/quansitech/files/raw/master/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230118114124.png)](https://github.com/quansitech/files/blob/master/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20230118114124.png)

#### 安装

[](#安装)

```
composer require quansitech/qscmf-builderitem-checkbox-text
```

#### 如何使用

[](#如何使用)

- FormType

    ```
    // title: 选项标题
    // key: 选现对应的键值
    // need_text 是否需要填写额外的文本项
    $option = [
      [
          'title' => '网站开发',
          'key' => 1,
      ],
      [
          'title' => '公众号运维',
          'key' => 2,
      ],
      [
          'title' => '其他',
          'key' => 3,
          'need_text' => true,
      ]
    ];
    ->addFormItem("main_business", "checkbox_text", "主营业务", "", $option)

    //注意：组件会自动构造好json格式的数据提交，直接存入对应的数据库字段即可
    ```
- ColumnType

    考虑展示内容可能会比较多，放listbuilder进行编辑并不优雅，暂时不支持editable模式

    ```
      $option = [
          [
              'title' => '网站开发',
              'key' => 1,
          ],
          [
              'title' => '公众号运维',
              'key' => 2,
          ],
          [
              'title' => '其他',
              'key' => 3,
              'need_text' => true,
          ]
      ];
    ->addTableColumn("main_business", "主营业务", "checkbox_text", $option)
    ```

#### 前端单独使用checkbox-text.js

[](#前端单独使用checkbox-textjs)

用法参照asset/demo.html

name属性会自动赋予input hidden组件，用于form提交数据时用

option是组件展示配置，格式是json字符串，具体设置参照上面的$option说明

value是组件的默认值，格式是json字符串，参照builder存入数据库的格式，一般直接配置后端读取即可

class如果没有特殊的样式要求，可以使用qscmf-checkbox-text,否则可以自定义一个别的类名，但是需要自己写样式

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~44 days

Total

2

Last Release

1166d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15a0610fee78753bdad92fd45c3506455c0fd45ae51924797b1841d260495a3f?d=identicon)[tiderjian](/maintainers/tiderjian)

---

Top Contributors

[![tiderjian](https://avatars.githubusercontent.com/u/1665649?v=4)](https://github.com/tiderjian "tiderjian (1 commits)")

---

Tags

componentadminthinkphpformbuilderqscmf

### Embed Badge

![Health badge](/badges/quansitech-qscmf-builderitem-checkbox-text/health.svg)

```
[![Health](https://phpackages.com/badges/quansitech-qscmf-builderitem-checkbox-text/health.svg)](https://phpackages.com/packages/quansitech-qscmf-builderitem-checkbox-text)
```

###  Alternatives

[zhongshaofa/easyadmin

基于ThinkPHP6.0和layui的快速开发的后台管理系统。

6609.3k](/packages/zhongshaofa-easyadmin)[rockys/ex-admin-thinkphp

Ex-admin-thinkphp 是一个基于Ant Design of Vue + Thinkphp 开发而成后台系统构建工具，无需关注页面模板JavaScript，只用php代码即可快速构建出一个功能完善的后台系统。

163.0k](/packages/rockys-ex-admin-thinkphp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
