Hosmel Quintana
Laravel Audit LogsLaravel Message Preview
Introduction
Installation
Configuration
Basic usage
Previewing Messages
Sample Data
Notifications
Advanced usage
Authorization
View on GitHub

Previewing Messages

See which classes the preview lists and how messages are rendered.

Listed classes

The preview lists every class in the configured paths that is:

  • A concrete subclass of Illuminate\Mail\Mailable.
  • A concrete subclass of Illuminate\Notifications\Notification with a public toMail() method.

Classes that throw an exception while loading are skipped. The warning at the bottom of the sidebar lists their errors.

Rendering

The package builds each message with Laravel's mail pipeline and a mailer that captures the message instead of sending it. No mail or notification events are dispatched.

The sender and reply-to address fall back to mail.from and mail.reply_to. A global mail.to address is not applied.

Laravel generates a plain-text body for Markdown mail and for mailables with a text view. When a message has only one body, the other view is disabled.

Keyboard shortcuts

KeyAction
/Focus the search field.
RRender the message again and reload the message list.
ConfigurationSample Data