PHPackages                             huid/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. huid/sms

ActiveLibrary

huid/sms
========

a simple package for send sms

1.0(8y ago)120MITPHPPHP &gt;=5.6CI failing

Since Mar 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/zhanghuid/simpleSms)[ Packagist](https://packagist.org/packages/huid/sms)[ RSS](/packages/huid-sms/feed)WikiDiscussions master Synced 3d ago

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

### simpleSms - a package for send sms [![pass](https://camo.githubusercontent.com/fd84ee65a42fae67d64b4bf9c6a6c5300d3cd4c6702cbf8d00844a3e6fbf1e3e/68747470733a2f2f7472617669732d63692e6f72672f7a68616e67687569642f73696d706c65536d732e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/fd84ee65a42fae67d64b4bf9c6a6c5300d3cd4c6702cbf8d00844a3e6fbf1e3e/68747470733a2f2f7472617669732d63692e6f72672f7a68616e67687569642f73696d706c65536d732e7376673f6272616e63683d6d6173746572)

[](#simplesms---a-package-for-send-sms-)

> 模仿[overtrue/easy-sms](https://github.com/overtrue/easy-sms)而做的一款极简版

### 安装

[](#安装)

```
composer require huid/sms -vvv
```

### 环境需求

[](#环境需求)

- PHP &gt;= 5.6

### 使用

[](#使用)

```
// 使用模版方式
 $message1 = new Message([
      'template' => '{:date} is the good day',
      'data' => [
          '{:date}' => date('Y-m-d')
       ]
  ])
// 直接发送内容
  $message => new Message([
        'content' => 'this is a test message',
  ]);

  $config = [
        'gateway' => [
                'qcloud' => [
                    'sdk_app_id' => 'xxxx',
                    'app_key' => 'xxxx',
                    'type' => 0
                ],
            ],
  ];

  $sms = new Sms($config);
  $sms->send(13800138000, $message1);
  $sms->send(13800138000, $message2);
```

### License

[](#license)

MIT

> 如有问题，请联系本人****删除代码

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2977d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31cd7e8d836d375795c41137e75a773ff2ca63b8c28ebab802860b5bdeb3b966?d=identicon)[huid](/maintainers/huid)

---

Top Contributors

[![zhanghuid](https://avatars.githubusercontent.com/u/12711819?v=4)](https://github.com/zhanghuid "zhanghuid (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/huid-sms/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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