PHPackages                             axyr/laravel-email-viewer - 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. axyr/laravel-email-viewer

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

axyr/laravel-email-viewer
=========================

A simple email viewer for Laravel

0.1(1y ago)719MITPHPPHP ^8.2

Since Jul 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/axyr/laravel-email-viewer)[ Packagist](https://packagist.org/packages/axyr/laravel-email-viewer)[ RSS](/packages/axyr-laravel-email-viewer/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

📨 Laravel Email Viewer
======================

[](#-laravel-email-viewer)

View and inspect all emails sent from your Laravel application.

[![](docs/img/mailboxes.png)](docs/img/mailboxes.png)

Introduction
------------

[](#introduction)

Laravel Email Viewer is a package that allows you to view all emails sent from you application in the browser. This allows you to ensure your application has actually sent the mail. When using log as an email driver for your local or staging environment, you can inspect emails without the need for external tools like Mailtrap or Mailhog, so emails never have to leave your server at all.

[![Latest Version on Packagist](https://camo.githubusercontent.com/34392da8e908cfdfcd28cb1bf43904ee4d1a35d2f6387751a3c19fb769e9f70d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617879722f6c61726176656c2d656d61696c2d7669657765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axyr/laravel-email-viewer) [![GitHub Tests Action Status](https://camo.githubusercontent.com/c4113fe25b2cf226227c01af9ebe9e13598f036e912385e741e3a4b8f75295ff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7370617469652f6c61726176656c2d7065726d697373696f6e2f72756e2d74657374732d4c382e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473)](https://github.com/axyr/laravel-email-viewer/actions?query=workflow%3ATests+branch%3Amain)

Key features
------------

[](#key-features)

- Log all application emails to a storage disk or database table
- Inspect HTML, attachments and email headers
- Packed with a simple Blade UI and a Vue.js/JSON controller
- Easily integrate in your existing application

Documentation
-------------

[](#documentation)

Usage
-----

[](#usage)

Outgoing emails will be automatically copied to a local disk or table, but you can work with this package manually as well with the Emails facade:

```
