MailPeek provides a simple local inbox right in your browser to enable you preview emails being sent from your application.
misma/laravel-mailpeek is a Laravel package for mailpeek provides a simple local inbox right in your browser to enable you preview emails being sent from your application..
It currently has 21 GitHub stars and 2.079 downloads on Packagist.
Install it with composer require misma/laravel-mailpeek.
Discover more Laravel packages by misma
or browse all Laravel packages to compare alternatives.
Last updated
MailPeek provides a simple local inbox right in your browser to enable you preview emails being sent from your application. Suport multiple recepients, attachments and more.
To install the package simple run one of the below command from your command line
For Laravel versions < 5.5
composer require misma/laravel-mailpeek "1.0.x-dev"
For Laravel versions 5.5 and above
composer require misma/laravel-mailpeek "2.0.x-dev"
Once installation is complete, you will need to register the service providers. Open up config/app.php and add the following to the providers array.
Publish required asset/config files into your application
php artisan vendor:publish
Finally, change MAIL_DRIVER to mailpeek in your .env file:
MAIL_DRIVER=mailpeek
Once MailPeek is installed and configured, you can navigate to http://<your-amazing-app-url>/mailpeek and that will open your 'inbox'. Whenever any email is sent from the application,it will show up in the inbox. It's that easy.
Mailpeek pretty much doesn't require any post-installation configuration. After running php artisan vendor:publish, available options are contained in the config/mailpeek.php.
Contributions are highly welcomed. Please feel free to fork, tweak, send a PR, and "betterize" whatever you can.
If you like this package show me some star love, ★ this repo.
Mohammed Isma (Twitter)
Laravel MailPeek is open-sourced software licensed under the MIT license.