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

ActiveLibrary

lampol/alidayu
==============

this is send mobile code by alidayu

v4(8y ago)539MITPHP

Since Nov 1Pushed 8y ago1 watchersCompare

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

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

this is send mobile code by alidayu and aliyun
==============================================

[](#this-is-send-mobile-code-by-alidayu--and-aliyun)

兼容了两个平台的发送短信 一个是alidayu 另一个是现在新的在阿里云服务器后台的短信发送
==============================================

[](#兼容了两个平台的发送短信-一个是alidayu-另一个是现在新的在阿里云服务器后台的短信发送)

阿里大于的使用
-------

[](#阿里大于的使用)

```

use Alidayu\Alidayu;
//阿里大于平台的使用
$config = [
        'key'      =>'',
        'secret'   =>''
];

$ali = new Alidayu($config);

//查询发送的信息

//$mobile 查询手机号码
//$date   发送日期 格式 20171102
//$curPage  当前页
//$size    页大小

$res = $ali->queryMobileMes($mobile,$date,$curPage,$size);

//发送信息

//$mobile 接收短信手机号
//$param 模板里面的参数 ['code'=>'123456'];
//$signName 你的短信签名
//$template SMS_107934024

$res = $ali->sendMobileMes($mobile,$param,$signName,$template);

var_dump($res);

//$res 返回json数据格式

```

阿里云平台的使用
--------

[](#阿里云平台的使用)

> 注意 PHP目前仅支持5.5以上版本

```
use Aliyun\Aliyun;

//阿里云的平台使用

//$signName=''; //短信签名
//$template=''; //短息模板
//$mobile='';    //接受手机号码
//$key='';  //app_key
//$secret=''; //app_secret
//$param=['code'=>'123456789'];  //参数
//$date='20171102';               //发送日期
//$currentPage                   //当前页
//$pageSize                      //页大小
//
//发送信息
$response = Aliyun::sendMobileMes($signName,$template,$mobile,$key,$secret,$param);
//查询发送的信息
$response =Aliyun::queryMobileMes($mobile,$date,$key,$secret ,$pageSize = 10, $currentPage = 1, $bizId=null);

//$response 返回json数据格式

```

### 任何问题或者建议都以练习

[](#任何问题或者建议都以练习)

> QQ:807968192 PHP技术交流群:163656536

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

3111d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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