New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

tkeer/mailbase

Catch laravel emails for local development
25,749 104
Install
composer require tkeer/mailbase
Latest Version:v2.0.1
Laravel:9 · 10 · 11
Older releases:5 – 8
License:MIT
Last Updated:Jul 17, 2024
Links: GitHub  ·  Packagist
Maintainer: tkeer

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

Installation

Laravel 7.x 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)

composer require tkeer/mailbase ^0.4 --dev
php artisan migrate

change MAIL_DRIVER to mailbase in your .env file:

Usage

Send dummy email

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

php artisan mailbase:test

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

Related Packages

frontier-sh/sinkhole-laravel

Laravel mail transport for Sinkhole — a Cloudflare Worker email trap

2,805 0
spatie/laravel-mail-preview

A mail driver to quickly preview mail

593,150 1,292
redberry/mailbox-for-laravel

Capture outgoing Laravel mail in a local dashboard and assert against the fully...

45,558 126
mixdinternet/mmails

Permite a configuração dos e-mails no admix

1,769 2

Version History

Version Released Laravel License
v2.0.1 >=9.0 MIT
v2.0.0 >=9.0 MIT
v1.5.0 ^7.0|^8.0 MIT
v1.4.0 ^7.0|^8.0 MIT
v1.3.0 ^7.0|^8.0 MIT