PHPackages                             tkeer/mailbase - 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. tkeer/mailbase

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

tkeer/mailbase
==============

Catch laravel emails for local development

v2.0.1(1y ago)10616.8k↓21.3%12[1 PRs](https://github.com/tkeer/mailbase/pulls)MITPHP

Since Dec 14Pushed 1y ago2 watchersCompare

[ Source](https://github.com/tkeer/mailbase)[ Packagist](https://packagist.org/packages/tkeer/mailbase)[ RSS](/packages/tkeer-mailbase/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Mail Catcher Driver
===========================

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

This package include a new `mailbase` driver which will catch all the sent emails and save it to the database. It then exposes a route `/mailbase` which you can visit to preview all the mails.

[![Mailbase preview](https://user-images.githubusercontent.com/20635376/71377339-5828dc00-25e6-11ea-8c1b-fa8925d6aae2.png)](https://user-images.githubusercontent.com/20635376/71377339-5828dc00-25e6-11ea-8c1b-fa8925d6aae2.png)

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

[](#installation)

### Laravel 7.x or higher

[](#laravel-7x-or-higher)

To install run the following command in your terminal:

```
composer require tkeer/mailbase --dev
```

Then run the migration

```
php artisan migrate

```

Finally, change `MAIL_MAILER` to `mailbase` in your `.env` file:

```
MAIL_MAILER=mailbase

```

### Laravel (5.x|6.x)

[](#laravel-5x6x)

```
composer require tkeer/mailbase ^0.4 --dev
```

```
php artisan migrate

```

change `MAIL_DRIVER` to `mailbase` in your `.env` file:

Usage
-----

[](#usage)

### Send dummy email

[](#send-dummy-email)

You can run following command to test mailbase driver by sending a dummy email.

```
php artisan mailbase:test

```

### Clearing Saved Emails

[](#clearing-saved-emails)

If you want to clear any of the saved emails that are in the database, use the following command:

```
php artisan mailbase:clear

```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 78.6% 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 ~119 days

Recently: every ~169 days

Total

15

Last Release

683d ago

Major Versions

v0.1.0 → v1.0.02020-04-26

v0.2.0 → v1.1.02020-05-03

v0.3.0 → v1.3.02021-05-30

v0.4.0 → v2.0.02024-07-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/2963b3febf382bb84555aa913bfcba0a0c008189515c9f7e6d68e4baaf46627a?d=identicon)[tkeer](/maintainers/tkeer)

---

Top Contributors

[![tkeer](https://avatars.githubusercontent.com/u/20635376?v=4)](https://github.com/tkeer "tkeer (22 commits)")[![ash-jc-allen](https://avatars.githubusercontent.com/u/39652331?v=4)](https://github.com/ash-jc-allen "ash-jc-allen (2 commits)")[![beauraines](https://avatars.githubusercontent.com/u/2186673?v=4)](https://github.com/beauraines "beauraines (1 commits)")[![mohd-e-mustafa](https://avatars.githubusercontent.com/u/56065974?v=4)](https://github.com/mohd-e-mustafa "mohd-e-mustafa (1 commits)")[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (1 commits)")[![Supernova3339](https://avatars.githubusercontent.com/u/63515814?v=4)](https://github.com/Supernova3339 "Supernova3339 (1 commits)")

---

Tags

driverlaravellocal-developmentmailmail-catcherphplaravelmaildevelopmentlocal

### Embed Badge

![Health badge](/badges/tkeer-mailbase/health.svg)

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

###  Alternatives

[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[juanparati/brevosuite

Complete Brevo integration with Laravel

1010.8k](/packages/juanparati-brevosuite)

PHPackages © 2026

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