PHPackages                             quansitech/qscmf-rightbutton-qrscanner - 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-rightbutton-qrscanner

ActiveLibrary[Admin Panels](/categories/admin)

quansitech/qscmf-rightbutton-qrscanner
======================================

qscmf listbuilder component

v1.0.3(6y ago)05MITJavaScriptPHP &gt;=7.2.0CI failing

Since Mar 24Pushed 6y agoCompare

[ Source](https://github.com/quansitech/quansitech-qscmf-rightbutton-qrscanner)[ Packagist](https://packagist.org/packages/quansitech/qscmf-rightbutton-qrscanner)[ RSS](/packages/quansitech-qscmf-rightbutton-qrscanner/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (5)Used By (0)

\##二维码扫码

#### 介绍

[](#介绍)

该组件可用于需要生成二维码，并使用扫码触发某些业务的场景。如：绑定用户二维码

#### 安装

[](#安装)

```
composer require quansitech/qscmf-rightbutton-qrscanner
```

#### demo图

[](#demo图)

扫码组件 [![](https://user-images.githubusercontent.com/1665649/77417738-c3aa6180-6e00-11ea-8ff9-325c4be69b52.gif)](https://user-images.githubusercontent.com/1665649/77417738-c3aa6180-6e00-11ea-8ff9-325c4be69b52.gif)

设置了二维码5秒后失效，点击可刷新二维码 [![](https://user-images.githubusercontent.com/1665649/77417866-02401c00-6e01-11ea-99cf-f55a0345075f.gif)](https://user-images.githubusercontent.com/1665649/77417866-02401c00-6e01-11ea-99cf-f55a0345075f.gif)

#### 使用样例

[](#使用样例)

生成列表按钮

```
$builder->addRightButton('qrscanner', null, '', '', [
                        'websocket' => 'ws://192.168.31.222:2346',
                        'url' => U('home/index/scan', '', false, true),
                        'queryStr' => 'project_id=__id__'
                    ]);
```

websocket服务端的安装配置方法请移步[传送门](https://github.com/quansitech/qrscanner)

该组件封装了react-qrscanner，以下代码为封装好的前端扫码调用实例

```

    //第一个参数 websocket地址
    //第二个参数 自动生成的二维码token
    //第三个参数 扫码回调 status是扫码状态1表示成功，0表示失败  | error 为扫码失败时的错误原因
    //第四个参数 需要传递给服务端业务处理的客制化参数
    window.Qrscanner.scan('ws://192.168.31.222:2346', '{$token}', function(status, error){
        var msg = '';
        if(status){
            msg = '绑定成功';
        }
        else{
            msg = error;
        }
        alert(msg);
    }, {project_id: {$project_id}});

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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 ~16 days

Total

4

Last Release

2191d 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

qrcodecomponentadminthinkphpqscmflistbuilder

### Embed Badge

![Health badge](/badges/quansitech-qscmf-rightbutton-qrscanner/health.svg)

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

###  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)
