Description
Package that lets you easily inspect your mails without having to actually trigger it in your application.
The mailbook:install command will create a route file named routes/mailbook.php. In this file you can register your
emails.
// This will use dependency injection if your mailable has parametersMailbook::add(VerificationMail::class); // Use a closure to customize the parameters of the mail instanceMailbook::add(function (): VerificationMail { $user = User::factory()->make(); return new VerificationMail($user, '/example/url')});
Next head over to /mailbook to preview the mailables.
Recent Courses on Laravel Daily
[NEW] Marketing for Developers in 2026
7 lessons
52 min
[NEW] Mobile Apps: React Native vs Flutter vs NativePHP?
8 lessons
55 min
Laravel 13 Starter Kit Teams and Customizations
10 lessons
33 min