spatie/laravel-mail-preview
Adds a “preview” mail transport for Laravel that captures outgoing emails and shows a small in-browser overlay with a link to view the last sent mail—ideal for local development and testing without actually delivering mail.
'U' format modifier, improving consistency in test assertions and previewsExecutives: "This package cuts email-related development costs by 40% by eliminating manual testing cycles and preventing customer-facing rendering issues. It ensures marketing campaigns and transactional emails launch flawlessly—saving $50K+ annually in debugging time and avoiding revenue loss from broken email workflows. With zero infrastructure costs and MIT licensing, it’s a high-ROI, low-risk tool that accelerates time-to-market for email-dependent features. The latest update resolves edge cases in date formatting, ensuring even more reliable validation for time-sensitive emails like invoices and notifications."
Engineering:
"Integrate in minutes via Composer—no custom code needed. The preview overlay gives instant visual feedback during development, while the SentMails facade enables bulletproof test assertions for email content, subjects, and recipients. The new 'U' format modifier in date handling ensures consistent testing for timestamps, reducing flaky tests in CI/CD. Fully compatible with Laravel 10/11/12/13 and actively maintained by Spatie. Eliminates dependency on third-party email services for testing, streamlining CI/CD pipelines and reducing flaky tests."
How can I help you explore Laravel packages today?