PHPackages                             crisen/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. crisen/laravel-sms

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

crisen/laravel-sms
==================

send message service for phone

1241PHP

Since Oct 24Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-sms
===========

[](#laravel-sms)

安装配置简单的laravel手机短信集成库

安装
--

[](#安装)

```
composer require "crisen/laravel-sms":"dev-master"

```

配置
--

[](#配置)

在config的app.php文件中添加

```
'providers' => [
  ...
  Crisen\LaravelSms\SmsServiceProvider::class
];

```

```
'aliases' => [
...
  'Sms' => Crisen\LaravelSms\Facades\Sms::class
];

```

> 然后使用artisan vendor:publish发布配置文件

### 阿里云短信服务

[](#阿里云短信服务)

```
use Sms;
...

public function foo(){
	$phone = "13800138000";
	$code = "1234";
	$template = "SMS_0000001";
  	$res = Sms::make()->to($phone)
		->message(json_encode(['code' => $code]))
		->template($template)
		->send();
	if($res){
        //do successful
	}
}

```

License
-------

[](#license)

MIT

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

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

---

Top Contributors

[![crisenchou](https://avatars.githubusercontent.com/u/16332040?v=4)](https://github.com/crisenchou "crisenchou (17 commits)")

### Embed Badge

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

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

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[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)
