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

ActiveLibrary

mmeyer2k/laravel-mail-file-driver
=================================

A Laravel Mail driver that saves messages to disk

0.0.2(1y ago)1238.9k1PHP

Since Sep 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mmeyer2k/laravel-mail-file-driver)[ Packagist](https://packagist.org/packages/mmeyer2k/laravel-mail-file-driver)[ RSS](/packages/mmeyer2k-laravel-mail-file-driver/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)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 mmeyer2k/laravel-mail-file-driver '0.0.1'
```

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

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

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

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

    # ...
  ],
];
```

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

[](#add-to-env)

```
MAIL_DRIVER=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

30

—

LowBetter than 64% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

2

Last Release

572d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c39fe5f8d80dda8a5735401c12cb631d5e17050f7baa7cd3f0f384167fb45db?d=identicon)[mmeyer2k](/maintainers/mmeyer2k)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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