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

ActiveProject

hyperbolaa/alisms
=================

最全的阿里短信接口，基于Laravel5的封装

161.4k↓100%3[1 issues](https://github.com/hyperbolaa/Alisms/issues)PHP

Since Jul 3Pushed 6y ago4 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

阿里短信
----

[](#阿里短信)

```
支持阿里云的三种API短信方式，也许是目前最全的阿里云短信SDK！

```

#### 安装

[](#安装)

```
开发版
composer require  hyperbolaa/alisms dev-master

```

#### laravel 配置

[](#laravel-配置)

```
 'providers' => [
     // ...
     Hyperbolaa\Alisms\AlismsServiceProvider::class,
 ]

```

#### 生成配置文件

[](#生成配置文件)

```
运行 `php artisan vendor:publish` 命令，
发布配置文件到你的项目中。

```

#### app代码使用

[](#app代码使用)

```
$alisms = app('alisms.yun');
//$alisms = app('alisms.api');
//$alisms = app('alisms.note');
$flag = $alisms->send('register','15588888888',['code'=>'456789']);//code 为模板中的变量名

if($flag === true){
    //todo 发送成功处理
}

```

#### 配置说明

[](#配置说明)

```
'yun'=>[//阿里云短信
    'access_key_id'        => 'xxxxxx',//
    'access_key_secret'    => 'xxxxxx',//
    'common_sign_name'     => '支付宝',//普通模板签名
    'spread_sign_name'     => '支付宝',//推广模板签名
    'template_code'        => [
        'register' => 'SMS_35650882',//模板名让一个变量来替换
    ]
],

```

开发文档
----

[](#开发文档)

alisms.yun =&gt; [阿里云短信服务接口文档](https://help.aliyun.com/document_detail/44364.html?spm=5176.doc44368.6.567.0pKIZb)

alisms.api =&gt; [云市场短信接口文档](https://market.aliyun.com/products/57002003/cmapi011900.html?spm=5176.100239.blogcont59928.22.lumd22#sku=postpay)

alisms.note =&gt; [短信发送API接口文档](https://help.aliyun.com/document_detail/55451.html?spm=5176.doc56189.6.555.va0ALg)

联系&amp;打赏
---------

[](#联系打赏)

如果真心觉得项目帮助到你，为你节省了成本，欢迎鼓励一下。

如果有什么问题，可通过以下方式联系我。提供有偿技术服务。

也希望更多朋友可用提供代码支持。欢迎交流与打赏。

**加入QQ群**：60973229

Related
-------

[](#related)

- [Ylpay](https://github.com/hyperbolaa/Ylpay) 基于laravel5的POS通支付
- [Alipay](https://github.com/hyperbolaa/Alipay) 基于laravel5的支付宝支付
- [Unionpay](https://github.com/hyperbolaa/Unionpay) 基于laravel5的银联支付
- [Wechatpay](https://github.com/hyperbolaa/Wechatpay) 基于laravel5的微信支付

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f9d51471cd65ff00a650bdf0bb93893a35d5d1d554ffce46c3a86a31009c587?d=identicon)[hyperbolaa](/maintainers/hyperbolaa)

---

Top Contributors

[![hyperbolaa](https://avatars.githubusercontent.com/u/10859667?v=4)](https://github.com/hyperbolaa "hyperbolaa (16 commits)")

### Embed Badge

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

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

PHPackages © 2026

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