PHPackages                             greenhat616/laravel-directmail - 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. greenhat616/laravel-directmail

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

greenhat616/laravel-directmail
==============================

阿里云邮件推送 for Laravel.

v1.4.0(1mo ago)045[1 PRs](https://github.com/greenhat616/laravel-directmail/pulls)MITPHPPHP ^8.2

Since Oct 8Pushed 1mo agoCompare

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

READMEChangelog (10)Dependencies (8)Versions (18)Used By (0)

Aliyun DirectMail for Laravel 9
===============================

[](#aliyun-directmail-for-laravel-9)

使用阿里云的 DirectMail 发送邮件。

当前实现仅支持[单一发信接口](https://help.aliyun.com/document_detail/29444.html)。

安装
--

[](#安装)

1. 使用 `composer` 安装文件

    ```
    composer require greenhat616/laravel-directmail
    ```
2. 在 `config/mail.php` 中的 `mailers` 字段下添加如下配置:

    ```
    'directmail' => [
    	'access_secret_id' => env('DIRECT_MAIL_ACCESS_SECRET_ID'),
    	'access_key_secret' => env('DIRECT_MAIL_ACCESS_SECRET_KEY'),
    	'region' => 'cn-hangzhou',
    	'account_name' => env('DIRECT_MAIL_ACCOUNT_NAME'),
    	'reply_to' => env('DIRECT_MAIL_REPLY_TO'),
    	'from_alias' => env('DIRECT_MAIL_ACCOUNT_ALIAS'),
    ],
    ```

    具体配置含义请参考[官方文档](https://help.aliyun.com/document_detail/29444.html)。

    请根据需要在`.env`中创建环境配置。
3. 修改 `default` 为 `directmail`（或者`.env` 中的 `MAIL_MAILER`）。

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance91

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 82.4% 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 ~206 days

Recently: every ~348 days

Total

16

Last Release

42d ago

Major Versions

v0.3.0 → v1.0.02022-03-13

PHP version history (5 changes)v0.1.0PHP &gt;=5.4.0

v0.2.0PHP &gt;=7.0

v1.0.0PHP ^8.0|^8.1

v1.2.0PHP ^8.1|^8.2|^8.3

v1.3.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/5181ea19afe4efd5c82d99eb31a4aa5295cac955a912b69536dc2b479bd28b04?d=identicon)[a632079](/maintainers/a632079)

---

Top Contributors

[![greenhat616](https://avatars.githubusercontent.com/u/41122242?v=4)](https://github.com/greenhat616 "greenhat616 (14 commits)")[![HyanCat](https://avatars.githubusercontent.com/u/3190081?v=4)](https://github.com/HyanCat "HyanCat (3 commits)")

### Embed Badge

![Health badge](/badges/greenhat616-laravel-directmail/health.svg)

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

###  Alternatives

[fedeisas/laravel-mail-css-inliner

Inline the CSS of your HTML emails using Laravel

5974.6M3](/packages/fedeisas-laravel-mail-css-inliner)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)[therobfonz/laravel-mandrill-driver

Mandrill Driver for Laravel

773.5M](/packages/therobfonz-laravel-mandrill-driver)[illuminate/notifications

The Illuminate Notifications package.

483.0M967](/packages/illuminate-notifications)[mailersend/laravel-driver

MailerSend Laravel Driver

87732.8k4](/packages/mailersend-laravel-driver)

PHPackages © 2026

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