PHPackages                             lswl/laravel-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lswl/laravel-sms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lswl/laravel-sms
================

Laravel sms helper.

v8.0.0(4y ago)05MITPHPPHP ^7.3|^8.0

Since Oct 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/linshaowl/laravel-sms)[ Packagist](https://packagist.org/packages/lswl/laravel-sms)[ Docs](https://linshaowl.com/)[ RSS](/packages/lswl-laravel-sms/feed)WikiDiscussions 8.0 Synced yesterday

READMEChangelogDependencies (2)Versions (3)Used By (0)

介绍
--

[](#介绍)

- 实现 `Lswl\Sms\Contracts\CacheInterface` 缓存接口
- 更多api参考 lswl/sms

安装配置
----

[](#安装配置)

使用以下命令安装：

```
$ composer require lswl/laravel-sms

```

发布文件\[可选\]：

```
php artisan vendor:publish --tag=lswl-sms

```

快速使用
----

[](#快速使用)

- 默认配置只需要配置 `CHUANGLAN_ACCOUNT` 、`CHUANGLAN_PASSWORD` 环境变量即可使用 `SmsHelper::getSms()` 发送创蓝的短信。
- 更多使用方式请查看 lswl/sms

```
use Lswl\SmsHelper\SmsHelper;

$sms = SmsHelper::getSms();

$res = $sms->setPhone(13188888888)
    ->setCode(6379)
    ->setMessage([
        'content'  => '您的验证码为: 6379',
    ])
    ->send();

// input
var_dump($res);
// 下次发送需要等待时间（手机号 => 等待秒数）
// [
//     13188888888 => 60,
// ]
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~0 days

Total

2

Last Release

1672d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/406878610be7a05aa8767eb4c0c6158b60e085f191d7d6a201f122bb9ff71043?d=identicon)[lswl](/maintainers/lswl)

---

Top Contributors

[![linshaowl](https://avatars.githubusercontent.com/u/19506950?v=4)](https://github.com/linshaowl "linshaowl (1 commits)")

---

Tags

laravelhelpersmslswl

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)

PHPackages © 2026

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