PHPackages                             vagh/laravel-aliyun-mailer - 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. vagh/laravel-aliyun-mailer

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

vagh/laravel-aliyun-mailer
==========================

An Aliyun Mail SDK For Laravel

1.2(6y ago)120MITPHP

Since Feb 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/vagh/laravel-aliyun-mailer)[ Packagist](https://packagist.org/packages/vagh/laravel-aliyun-mailer)[ RSS](/packages/vagh-laravel-aliyun-mailer/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Laravel mail aliyun
===================

[](#laravel-mail-aliyun)

---

阿里云邮件发送SDK - Laravel 版

安装
--

[](#安装)

```
composer require vagh/laravel-aliyun-mailer
```

成功安装后会自动注册包至 `ServiceProvider` 中。

配置
--

[](#配置)

在你的 `config/service.php` 文件中添加以下配置：

```
'ali_mail' => [
    // 阿里云用户AccessKey
    'access_key' => '****',
    // 阿里云用户AccessSecret
    'access_key_secret' => '****',
    // 对应资源区域
    'region_id' => 'cn-hangzhou',
    // 发信人昵称 长度小于15个字符
    'from_alias' => 'BigYu',
    // 发件人地址 一般在邮件后台设置好
    'from_address' => '****@mail.vagh.cn',
],
```

附：[阿里云邮件API](https://help.aliyun.com/document_detail/29444.html)

使用
--

[](#使用)

修改你的 `.env` 文件：

```
MAIL_DRIVER=ali_mail
```

附：[Laravel 官方邮件发送文档(6.x)](https://laravel.com/docs/6.x/mail)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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 ~2 days

Total

3

Last Release

2261d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8d21d100267843aece94c1d87392a2b22f2f2f655ffabc6cfd7419dc74ac7a2?d=identicon)[vagh](/maintainers/vagh)

### Embed Badge

![Health badge](/badges/vagh-laravel-aliyun-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/vagh-laravel-aliyun-mailer/health.svg)](https://phpackages.com/packages/vagh-laravel-aliyun-mailer)
```

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.6M4](/packages/spatie-laravel-failed-job-monitor)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)[synergitech/laravel-postal

This library integrates Postal with the standard Laravel mail framework.

38107.1k](/packages/synergitech-laravel-postal)[overtrue/laravel-mail-aliyun

Aliyun DrirectMail Transport for Laravel Application.

709.1k](/packages/overtrue-laravel-mail-aliyun)[motomedialab/smtp2go

Send emails via API using the first-class email courier SMTP2Go

1316.3k](/packages/motomedialab-smtp2go)

PHPackages © 2026

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