PHPackages                             mehr-it/laravel-mail-file-driver - 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. mehr-it/laravel-mail-file-driver

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

mehr-it/laravel-mail-file-driver
================================

A Laravel Mail driver that saves messages to disk

1.0.0(3y ago)05PHP

Since Dec 7Pushed 3y agoCompare

[ Source](https://github.com/mehr-it/laravel-mail-file-driver)[ Packagist](https://packagist.org/packages/mehr-it/laravel-mail-file-driver)[ RSS](/packages/mehr-it-laravel-mail-file-driver/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (1)Versions (5)Used By (0)

laravel-mail-file-driver
========================

[](#laravel-mail-file-driver)

A Laravel Mail driver that saves messages to disk for testing/ci purposes.

Install
-------

[](#install)

```
composer require mehr-it/laravel-mail-file-driver
```

Replace default laravel mail manager in /config/app.php
-------------------------------------------------------

[](#replace-default-laravel-mail-manager-in-configappphp)

This is usually not required when using package autoloading.

```
return [
  'providers' => [
    # ...

    #Illuminate\Mail\MailServiceProvider::class,
    Mmeyer2k\LaravelMailFile\MailFileServiceProvider::class,

    # ...
  ],
];
```

Add to .env
-----------

[](#add-to-env)

```
MAIL_MAILER=file
```

Custom storage location in .env
-------------------------------

[](#custom-storage-location-in-env)

By default, messages are saved to path returned by `sys_get_temp_dir()`.

```
MAIL_FILE_PATH=/path/to/storage
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

4

Last Release

1305d ago

Major Versions

0.0.5 → 1.0.02022-12-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44973729?v=4)[mehr.IT GmbH](/maintainers/mehr-it)[@mehr-it](https://github.com/mehr-it)

---

Top Contributors

[![chmgr](https://avatars.githubusercontent.com/u/94837732?v=4)](https://github.com/chmgr "chmgr (7 commits)")[![mmeyer2k](https://avatars.githubusercontent.com/u/1887431?v=4)](https://github.com/mmeyer2k "mmeyer2k (7 commits)")

### Embed Badge

![Health badge](/badges/mehr-it-laravel-mail-file-driver/health.svg)

```
[![Health](https://phpackages.com/badges/mehr-it-laravel-mail-file-driver/health.svg)](https://phpackages.com/packages/mehr-it-laravel-mail-file-driver)
```

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.1k2.8M4](/packages/spatie-laravel-failed-job-monitor)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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