PHPackages                             quansitech/qscmf-topbutton-download - 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-topbutton-download

ActiveLibrary[Admin Panels](/categories/admin)

quansitech/qscmf-topbutton-download
===================================

qscmf listbuilder topbutton

v2.0.0(2y ago)04022MITJavaScriptPHP &gt;=8.2.12

Since Jan 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/quansitech/qscmf-topbutton-download)[ Packagist](https://packagist.org/packages/quansitech/qscmf-topbutton-download)[ RSS](/packages/quansitech-qscmf-topbutton-download/feed)WikiDiscussions master Synced 3w ago

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

文件批量导出并打包（zip）
--------------

[](#文件批量导出并打包zip)

#### 安装

[](#安装)

```
composer require quansitech/qscmf-topbutton-download
```

#### 使用样例

[](#使用样例)

```
.
.
.
class PostController extends GyListController{
.
.
.

        $builder = new \Common\Builder\ListBuilder();
        //第一个参数指定download类型，第二个参数是指定需要覆盖的html组件属性
        /*属性值如下
                必填：data-url   为点击导出按钮后ajax请求的地址
                选填：
                    data-filename  批量导出压缩包文件名
                    title           按钮名称
                    data-select     值为bool类型，判断是否勾选，默认true，即默认开启
                    data-tips       承接data-select属性，如果开启，在未勾选内容情况下提示的信息
         */
        $builder->addTopButton('download', array('data-url' => U('download')));

.
.
.

    /*
    导出下载链接请求的action
    ajax返回json数据格式如下：
        {
            "count": "5",
            "pageSize": 2,
            "list": [
                {
                    "id": "1",
                    "name": "下载重命名的文件名",
                    "url": "https://media.t4tstudio.com/TJlJL2wlKB4Ezb5_qQrp0okWb2c=/Fv2T8J6s6Pupj6zbs2xvdMf9GKN2",
                    "suffix": "mp3",
                    "fullname":"文件自定义名字"
                },
                ....
            ]
        }
        返回值注解（下面带*键名为必填）：
        count   总记录数
        pageSize 单页最大记录数    注意：如果是下载单页的数据，令countcount();
        $pageSize = C('ADMIN_PER_PAGE_NUM', null, false);
        $data = M('Test')->page($page,$pageSize)->select();
        $return_data = [
            'count' => $count,
            'pageSize' => $pageSize,
            'list'=>$data,
        ];
        $this->ajaxReturn($return_data);
    }
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 55% 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 ~140 days

Recently: every ~25 days

Total

11

Last Release

943d ago

Major Versions

v1.x-dev → v2.0.02023-12-04

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v2.0.0PHP &gt;=8.2.12

### Community

Maintainers

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

---

Top Contributors

[![420509089](https://avatars.githubusercontent.com/u/28558257?v=4)](https://github.com/420509089 "420509089 (11 commits)")[![tiderjian](https://avatars.githubusercontent.com/u/1665649?v=4)](https://github.com/tiderjian "tiderjian (6 commits)")[![Xhiny](https://avatars.githubusercontent.com/u/35066497?v=4)](https://github.com/Xhiny "Xhiny (3 commits)")

---

Tags

componentadminthinkphpqscmflistbuilder

### Embed Badge

![Health badge](/badges/quansitech-qscmf-topbutton-download/health.svg)

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

###  Alternatives

[zhongshaofa/easyadmin

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

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

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

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

PHPackages © 2026

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