PHPackages                             hahadu/laravel-notfication-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. hahadu/laravel-notfication-sms

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

hahadu/laravel-notfication-sms
==============================

php sms

v0.1.2(1y ago)04Apache-2.0PHPPHP &gt;=8.0

Since Apr 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hahadu/laravel-notfication-sms)[ Packagist](https://packagist.org/packages/hahadu/laravel-notfication-sms)[ RSS](/packages/hahadu-laravel-notfication-sms/feed)WikiDiscussions main Synced 1mo ago

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

Laravel SMS Notification 使用指南
=============================

[](#laravel-sms-notification-使用指南)

这个包提供了一个简单的方式在 Laravel 应用中发送短信通知。

快速开始
----

[](#快速开始)

### 1. 配置短信服务

[](#1-配置短信服务)

在 `config/sms.php` 中配置您的短信服务参数，或在 `.env` 文件中设置：

```
# 短信服务配置
SMS_SERVICE=Aliyun
SMS_ACCESS_SECRET=your_access_secret
SMS_ACCESS_KEY=your_access_key
SMS_SIGN_NAME=your_sign_name
```

### 2. 创建通知类

[](#2-创建通知类)

```
