Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 

README.md

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 6.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)

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

change MAIL_DRIVER to mailbase in your .env file:

Usage

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
You can’t perform that action at this time.