PHPackages                             he/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. he/sms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

he/sms
======

常用 短信服务

v4(4y ago)053MITPHPPHP &gt;=7.0

Since May 21Pushed 4y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (8)Used By (0)

\###常用短信运营商封装

\###example

\####配置文件

```
$config = [

    'lsmApiKey' => '',

    'txAppId' => '',

    'txAppKey' => '',

    'aliAccessKeyId' => '',

    'aliAccessKeySecret' => '',

    'aliSignName' => '',

    'aliTemplateCode' => ''

    'teCustomerId' => '',

     'teAppkey' => '',
];

```

\###实例化

```
    $aliSms = new he\sms\AliSms($config);
    $aliSms->setPhone('10080');
    $aliSms->setCountryCode('86');
    $aliSms->send('1234');

    $lsmSms = new he\sms\LuosimaoSms($config);
    ...

    $txSms = new he\TxSms($config);
    ...
    $txSms->sendVoice(1234)

    #只实现了telesing verifySms verifyVoice
    $telesignSms = new he\TeleSignSms($config);
    ...

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~177 days

Total

7

Last Release

1822d ago

PHP version history (2 changes)1.9PHP ^7.0

1.9.3PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11418176?v=4)[flyflyhe](/maintainers/flyflyhe)[@flyflyhe](https://github.com/flyflyhe)

---

Top Contributors

[![flyflyhe](https://avatars.githubusercontent.com/u/11418176?v=4)](https://github.com/flyflyhe "flyflyhe (6 commits)")

---

Tags

smssms

### Embed Badge

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

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

###  Alternatives

[php-smpp/php-smpp

PHP-based SMPP client lib

234197.5k8](/packages/php-smpp-php-smpp)[instasent/sms-counter-php

SMS Counter PHP Class Library which detects encoding of an SMS message text, counts the characters as per the encoding and gives page limit information.

491.3M4](/packages/instasent-sms-counter-php)[alexandr-mironov/php-smpp

PHP SMPP client lib, fork of onlinecity/php-smpp

4864.3k](/packages/alexandr-mironov-php-smpp)[benmorel/gsm-charset-converter

Converts GSM 03.38 strings to and from UTF-8

16423.5k](/packages/benmorel-gsm-charset-converter)[franzose/laravel-smpp

SMS sending via SMPP protocol for Laravel framework.

3941.6k1](/packages/franzose-laravel-smpp)[matthewbdaly/sms-client

A generic SMS client library. Supports multiple swappable drivers.

2291.2k2](/packages/matthewbdaly-sms-client)

PHPackages © 2026

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