PHPackages                             arthuryinzhen/laravel-ali-sms - 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. arthuryinzhen/laravel-ali-sms

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

arthuryinzhen/laravel-ali-sms
=============================

ali sms for laravel5.2

05PHP

Since Mar 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Arthuryin/laravel-ali-sms)[ Packagist](https://packagist.org/packages/arthuryinzhen/laravel-ali-sms)[ RSS](/packages/arthuryinzhen-laravel-ali-sms/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 5 Ali-SMS
=================

[](#laravel-5--ali-sms)

基于laravel5开发的新版阿里短信服务
---------------------

[](#基于laravel5开发的新版阿里短信服务)

php &gt;=5.5.0 会自动加载 `alibabacloud/client`阿里最新版短信轮子

Installation
------------

[](#installation)

[PHP](https://php.net) 5.5+ , and [Composer](https://getcomposer.org) are required.

To get the latest version of Laravel Exceptions, simply add the following line to the require block of your `composer.json` file:

```
"arthuryinzhen/laravel-ali-sms": "dev-master"

```

You'll then need to run `composer install` or `composer update` to download it and have the autoloader updated.

then run

- `php artisan vendor:publish`

配置
--

[](#配置)

若以上安装没问题,自定义项目配置文件会在 config/AliSMS.php (会自动生成)

.env 需要配置4个选项

```
ALISMS_ACCESS_ID
ALISMS_ACCESS_SECRET
ALISMS_SING_NAME
ALISMS_TEMPLATE_CODE

```

Usage
-----

[](#usage)

直接在文件中调用单例模式`app('alisms')->send($phone, $code)`即可

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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/0401b7832f7ed404f26c8477e4b32131b08343f21827396edd99bb781bf20c5b?d=identicon)[Arthuryin](/maintainers/Arthuryin)

---

Top Contributors

[![arthuryin](https://avatars.githubusercontent.com/u/9281428?v=4)](https://github.com/arthuryin "arthuryin (3 commits)")

### Embed Badge

![Health badge](/badges/arthuryinzhen-laravel-ali-sms/health.svg)

```
[![Health](https://phpackages.com/badges/arthuryinzhen-laravel-ali-sms/health.svg)](https://phpackages.com/packages/arthuryinzhen-laravel-ali-sms)
```

###  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)
