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

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

yzh52521/alisms
===============

阿里大鱼 阿里新版短信

v1.0.1(5y ago)121MITPHPPHP &gt;=5.4.0

Since Jul 15Pushed 5y agoCompare

[ Source](https://github.com/yuanzhihai/alisms)[ Packagist](https://packagist.org/packages/yzh52521/alisms)[ RSS](/packages/yzh52521-alisms/feed)WikiDiscussions master Synced today

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

AliSms
======

[](#alisms)

阿里新版短信

```
$ composer require yzh52521/alisms

```

```
//引入
use yzh52521\AliSms;
$config = [
    'accessKeyId'     => '',
    'accessKeySecret' => '',
    'templateCode'    => '',
    'signName'        => '',
];
$params = [
    'mobile' => '手机号',
    'code' => '1234'//验证码
];
$sms = new AliSms($config);
//发送短信
$info = $sms->sendSms($params);

$mobile = [
   '132xxxxxxxx',
   '135xxxxxxxx'
];
$sign   = ['签名', '签名'];

$params=[
//模板变量名 => 模板变量值
    ['name' => '张三', 'product' => '产品'],
    ['name' => '李四', 'product' => '产品'],
];
//批量发送
$request = $sms->sendBatchSms($mobile,'SMS_111111',$sign,$params);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Total

2

Last Release

2049d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/052aa4acd90ad5d672ae5abe8d27d1f576f9c07e1967e2f6bced03b84079310f?d=identicon)[yuanzhihai](/maintainers/yuanzhihai)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M228](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M52](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

PHPackages © 2026

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