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

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

hao/alidayu
===========

阿里大鱼短信平台

1.04(8y ago)111.3k3MITPHPPHP &gt;=5.3.3

Since May 29Pushed 8y agoCompare

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

READMEChangelog (4)DependenciesVersions (5)Used By (0)

阿里大鱼短信平台
========

[](#阿里大鱼短信平台)

开源地址
----

[](#开源地址)

\##1.安装

```
composer require hao/alidayu

```

\##2.实例化

```
$config = [
    'key_id' => '', // AccessKeyId
    'key_secret' => '',
    'sign_name' => '',//签名名称
    'code' => '',//模板CODE
];
$send = new \Aliyun\Send($config);

```

\##2.1 发送单条短信

```
//发送短信
//短信参数内容
$data = [
    'code' => 12456,
    'product' => 'xxx'
];
$send->sendSms('手机号',$data);

```

\##2.2 短信发送记录查询

```
$send->queryDetails('手机号','查询日期（20180520）');

```

\##2.3 群发短信

```
$phone = [
    '手机号1',
    '手机号2'
];
//写法1（发送内容一致、短信签名一致）：
//短信参数内容
$data = [
    'code' => 12456,
    'product' => 'xxx'
];
$send->sendBatchSms($phone,$data);
#################################################
//写法2（发送内容不一致、短信签名一致）：
$data = [
    ['code' => 12456,'product' => 'xxx'],
    ['code' => 15555,'product' => 'xxx'],
];
$send->sendBatchSms($phone,$data);
##################################################
//写法3（发送内容不一致、短信签名不一致）：
$data = [
    ['code' => 12456,'product' => 'xxx'],
    ['code' => 15555,'product' => 'xxx'],
];
$sign = ['签名1','签名2'];
$send->sendBatchSms($phone,$data,$sign);

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

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

4

Last Release

2953d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

alidayu

### Embed Badge

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

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

###  Alternatives

[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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