This is a good Laravel package which has a new mail-based driver that will catch all the sent emails and save them to the database.

Laravel Mail Catcher Driver


To install, run the following command in your terminal:

composer require tkeer/mailbase --dev

Then run the migration

php artisan migrate

Finally, change MAIL_DRIVER to mailbase in your .env file:



laravel mail driver

Source Code