PHPackages                             evan-li/think-sms - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. evan-li/think-sms

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

evan-li/think-sms
=================

think sms sender

1.2(7y ago)09Apache2PHPPHP &gt;=5.4.0

Since Jan 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/evan-li/think-sms)[ Packagist](https://packagist.org/packages/evan-li/think-sms)[ RSS](/packages/evan-li-think-sms/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Think-Sms
=========

[](#think-sms)

Sms Sender for ThinkPHP 5.1

Installation
============

[](#installation)

```
composer require evan-li/think-sms

```

> 安装后执行 evan-li/think-sms/db/init.sql, 初始化数据库结构

### 配置

[](#配置)

`config/sms.php`:

```
return [
    // 驱动类型, 支持 zsd(众视达) aliyun(阿里云,待支持) ucpaas(云之讯,待支持)
    'driver' => 'zsd',

    // 众视达参数配置
    'zsd' => [
        // 行业短信参数配置
        'biz' => [
            'account' => 'account',
            'password' => 'password',
            'extno' => 'extno'
        ],
        // 营销短信参数配置
        'marketing' => [
            'account' => '',
            'password' => '',
            'extno' => ''
        ],
        // 灰度营销短信参数配置
        'gray_marketing' => [
            'account' => '',
            'password' => '',
            'extno' => ''
        ],
    ]
];
```

短信状态报告
======

[](#短信状态报告)

使用众视达短信时, 可开启短信状态报告, 记录每条短信的接受状态. 状态报告命令: `php think sms:zsd-report`, 在crontab中定时执行: `php think sms:zsd-report {count?}` 即可

> 其中`count`为可选参数, 默认值 1000

Usage
=====

[](#usage)

```
Sender::sendVerifyCodeSms('手机号', '短信内容', '短信签名');
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

2

Last Release

2708d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/debe56097dc7a6c58ddbf981241f3e3618c4f4474c2dd1b82e22236a08df252f?d=identicon)[evan-li](/maintainers/evan-li)

---

Top Contributors

[![evan-li](https://avatars.githubusercontent.com/u/13114527?v=4)](https://github.com/evan-li "evan-li (7 commits)")

### Embed Badge

![Health badge](/badges/evan-li-think-sms/health.svg)

```
[![Health](https://phpackages.com/badges/evan-li-think-sms/health.svg)](https://phpackages.com/packages/evan-li-think-sms)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k34](/packages/neuron-core-neuron-ai)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NotifyX、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

686111.2k8](/packages/guanguans-notify)

PHPackages © 2026

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