PHPackages                             cuizhaopeng/alidayu - 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. cuizhaopeng/alidayu

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

cuizhaopeng/alidayu
===================

短信发送

1.0.0(7y ago)116MITPHPPHP &gt;=5.3.0

Since Aug 23Pushed 7y agoCompare

[ Source](https://github.com/cuizhaopeng/alidayu)[ Packagist](https://packagist.org/packages/cuizhaopeng/alidayu)[ RSS](/packages/cuizhaopeng-alidayu/feed)WikiDiscussions master Synced 2mo ago

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

alidayu
=======

[](#alidayu)

PS：阿里短信

**更新**暂无

**功能**短信发送

**环境**PHP &gt;= 5.4 composer

**使用**

示例：

class SendMessage{

```
public function sendPhoneMessage(){

    // *** 需用户填写部分 ***

    // fixme 必填: 请参阅 https://ak-console.aliyun.com/ 取得您的AK信息
    $accessKeyId = "LTAIp75FRoFjEUf2";
    $accessKeySecret = "8tEQ1bakjiFudJTzW3D2skHGlJEW6j";
    // fixme 必填: 短信接收号码
    $params["PhoneNumbers"] = $_POST['phone_numbers'];

    // fixme 必填: 短信签名，应严格按"签名名称"填写，请参考: https://dysms.console.aliyun.com/dysms.htm#/develop/sign
    $params["SignName"] = "短信签名";

    // fixme 必填: 短信模板Code，应严格按"模板CODE"填写, 请参考: https://dysms.console.aliyun.com/dysms.htm#/develop/template
    $params["TemplateCode"] = "SMS_142946435";

    // fixme 可选: 设置模板参数, 假如模板中存在变量需要替换则为必填项
    $params['TemplateParam'] = Array (
        "username" => $_POST['username'],
        "post" => $_POST['post'],
        "invitation_time" => $_POST['invitation_time']
    );

    $sendSms = new sendSms();
    $res = $sendSms->send($accessKeyId,$accessKeySecret,$params);
    return $res;
}

```

}

**帮助**

意见、BUG反馈：

**支持**

官方网址：

官方API文档：

composer：

**License**

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

2819d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf899521897114b804fdf5bd82a65953bb055b805187a50e6d7add1decea3929?d=identicon)[cuizhaopeng](/maintainers/cuizhaopeng)

---

Top Contributors

[![cuizhaopeng](https://avatars.githubusercontent.com/u/39108775?v=4)](https://github.com/cuizhaopeng "cuizhaopeng (14 commits)")

### Embed Badge

![Health badge](/badges/cuizhaopeng-alidayu/health.svg)

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

###  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.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/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)
