PHPackages                             tabatii/localmail - 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. tabatii/localmail

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

tabatii/localmail
=================

LocalMail is a laravel database mailer for local development

v1.0.1(1y ago)02MITBladePHP ^8.1

Since Jan 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tabatii/localmail)[ Packagist](https://packagist.org/packages/tabatii/localmail)[ Docs](https://github.com/tabatii/localmail)[ RSS](/packages/tabatii-localmail/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (15)Versions (3)Used By (0)

LocalMail
=========

[](#localmail)

[![Recipient page screenshot](https://github.com/tabatii/localmail/raw/main/assets/recipient.png)](https://github.com/tabatii/localmail/blob/main/assets/recipient.png)[![Message page screenshot](https://github.com/tabatii/localmail/raw/main/assets/message.png)](https://github.com/tabatii/localmail/blob/main/assets/message.png)

[![Total Downloads](https://camo.githubusercontent.com/54a31b0feb2a1a063bb968c0eded9a87d6bcf8b1271b66b9bb2e5dde2bd13231/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746162617469692f6c6f63616c6d61696c)](https://packagist.org/packages/tabatii/localmail)[![Latest Stable Version](https://camo.githubusercontent.com/d7923c468a7be73d90e2c41ed42111d5918e927b223e4ae251853bcb6a41be2f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746162617469692f6c6f63616c6d61696c)](https://packagist.org/packages/tabatii/localmail)[![License](https://camo.githubusercontent.com/c6059958f42784a369adaa513fbd6ff1b0822fbd388db83ad894137cc4c04462/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746162617469692f6c6f63616c6d61696c)](https://packagist.org/packages/tabatii/localmail)

About
-----

[](#about)

LocalMail is a laravel database mailer for local development.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require tabatii/localmail

```

Next, you should run the package migrations:

```
php artisan migrate

```

Also, add the package mailer to your `mail.php` configuration file:

```
'mailers' => [

    // Other mailers

    'localmail' => [
        'transport' => 'localmail',
    ],

],

```

Finally, change the `MAIL_MAILER` environment variable to `localmail` in your `.env` file:

```
MAIL_MAILER=localmail

```

Optionally, you can publish the package configuration file using:

```
php artisan vendor:publish --tag="localmail-config"

```

Usage
-----

[](#usage)

You can visit the LocalMail dashboard to preview every email you sent.
The LocalMail dashboard is available at the `/localmail` route named `localmail.dashboard`.
You can customize this route path in the LocalMail configuration file by changing the `routes.prefix` key.

```
'routes' => [
    'prefix' => 'localmail',
],

```

You can also protect the LocalMail dashboard by adding a middleware to the `routes.middleware` key.
Keep in mind that the `web` middleware is required for the LocalMail dashboard to work properly.

```
'routes' => [
    'middleware' => ['web', 'auth:admin'],
],

```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Othman Tabati](https://github.com/tabatii)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

541d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tabatii-localmail/health.svg)

```
[![Health](https://phpackages.com/badges/tabatii-localmail/health.svg)](https://phpackages.com/packages/tabatii-localmail)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[laravel/folio

Page based routing for Laravel.

603583.7k33](/packages/laravel-folio)

PHPackages © 2026

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