PHPackages                             datomon/laravel-mailserve-test - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. datomon/laravel-mailserve-test

ActiveLibrary[Testing &amp; Quality](/categories/testing)

datomon/laravel-mailserve-test
==============================

測試 Laravel 專案的 .env 檔中，Mail Server 設定是否正確

1.0.1(6y ago)06MITPHPPHP ^7.0.0

Since Sep 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/datomon/laravel-mailserve-test)[ Packagist](https://packagist.org/packages/datomon/laravel-mailserve-test)[ RSS](/packages/datomon-laravel-mailserve-test/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

關於
--

[](#關於)

```
(1)此 Laravel 套件是用來在本機快速測試 Laravel 專案的 Mail Server 資訊是否設定正確
(2)未使用 Redis 及 Laravel 的 Queue

```

版本
--

[](#版本)

```
Laravel >= 5.5

```

用法
--

[](#用法)

(1) 安裝套件

```
composer require datomon/laravel-mailserve-test

```

(2) 在 .env 檔中，修改 Mail Server 的資訊

```
MAIL_DRIVER=smtp
MAIL_HOST=Mail Server 的主機位置
MAIL_PORT=port號 (常見的有 25、465、587)
MAIL_USERNAME=Mail Server 的帳號
MAIL_PASSWORD=密碼
MAIL_ENCRYPTION=加密方式 (常見的有 ssl、tls，而若用不加密的 25 port 則填 null 即可)
MAIL_FROM_ADDRESS=寄件人的E-mail
MAIL_FROM_NAME=寄件人的名稱

```

以 Google 信箱的範例如下

```
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=你的 gmail 帳號
MAIL_PASSWORD=你的 gmail 帳號之登入密碼
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=abc123@gmail.com
MAIL_FROM_NAME=ABC

```

- 要使用 gmail，需打開「允許低安全性應用程式」，請至
- 有些 Mail Server 會限制寄件人E-mail 必須與帳號相同，請特別注意各廠商的規定

(3) 寄出測試信

```
$ php artisan mailserve:send 收件人E-mail 標題 信件內容

例如：
$ php artisan mailserve:send example@gmail.com 測試標題 這是測試文字

```

License
-------

[](#license)

[MIT license](https://opensource.org/licenses/MIT).

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~0 days

Total

2

Last Release

2468d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/datomon-laravel-mailserve-test/health.svg)

```
[![Health](https://phpackages.com/badges/datomon-laravel-mailserve-test/health.svg)](https://phpackages.com/packages/datomon-laravel-mailserve-test)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M341](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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