PHPackages                             sharetrip/alisms - 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. sharetrip/alisms

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

sharetrip/alisms
================

阿里云短信服务接口

1.0.5(8y ago)426MITPHPPHP &gt;=5.6.0

Since Jul 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Sharetrip/alisms)[ Packagist](https://packagist.org/packages/sharetrip/alisms)[ Docs](https://github.com/Sharetrip/alisms)[ RSS](/packages/sharetrip-alisms/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (6)DependenciesVersions (7)Used By (0)

Yii2 阿里云短信服务接口

安装方法： composer require sharetrip/alisms

使用方法：

objSms = new Sms(

```
Yii::objSms = new Sms( Yii::app->params['ALiSMS']

```

);

$config = \[ 'PhoneNumbers' =&gt; "12345678912", //Yii2 阿里云短信服务接口

安装方法： composer require sharetrip/alisms

使用方法：

objSms = new Sms( Yii::app-&gt;params\['ALiSMS'\] );

$config = \[

```
'PhoneNumbers' => "12345678912", //手机号码

 'SignName' => "分享之旅", //模板签名

 'TemplateCode' => "SMS_**", //短信模板

Code 'number' => "16888", //验证码

'serialNumber' => time() //流水号

```

\];

return objSms-&gt;sendSms( config );

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

6

Last Release

3274d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.0.4PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e934aeeedc07dd76a1d6752cb3fb9abb14d77c412386707a75e2645f0585523?d=identicon)[Sharetrip](/maintainers/Sharetrip)

---

Top Contributors

[![Sharetrip](https://avatars.githubusercontent.com/u/27114236?v=4)](https://github.com/Sharetrip "Sharetrip (21 commits)")

---

Tags

smsyii2alisms

### Embed Badge

![Health badge](/badges/sharetrip-alisms/health.svg)

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

###  Alternatives

[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6736.7k2](/packages/tuyakhov-yii2-notifications)

PHPackages © 2026

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