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 3d 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 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

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

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[guanguans/notify

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

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)

PHPackages © 2026

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