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

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

kevinzheng/laravel-directmail
=============================

Aliyun Direct Mail for Laravel.

1.0(9y ago)097MITPHPPHP &gt;=5.6

Since Nov 23Pushed 9y ago1 watchersCompare

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

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

Aliyun DirectMail for Laravel 5
===============================

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

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

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

安装
--

[](#安装)

1. 使用 `composer` 安装文件

    ```
    composer require kevinzheng/laravel-directmail
    ```
2. 在 `config/services.php` 中添加如下配置:

    ```
    ...
    'directmail' => [
    	'app_key'    => env('DIRECT_MAIL_APP_KEY'),
    	'app_secret' => env('DIRECT_MAIL_APP_SECRET'),
    	'region'     => 'cn-beijing',
    	'account'    => [
    		'alias' => env('DIRECT_MAIL_ACCOUNT_ALIAS'),
    		'name' => env('DIRECT_MAIL_ACCOUNT_NAME'),
    	]
    ],
    ...

    ```

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

    请根据需要在`.env`中创建环境配置。
3. 修改 `config/mail.php` 中的 `driver` 为 `directmail`（或者 `.env` 中的 `MAIL_DRIVER`）。
4. 修改 `config/app.php`，在`providers`字段中添加：

    ```
    'providers' => [
        ...
        KVZ\DirectMail\AliyunDirectMailServiceProvider::class,
        ...
    ],

    ```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3458d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[s-ichikawa/laravel-sendgrid-driver

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

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)

PHPackages © 2026

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