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] Practical Laravel Security: Packages, Secrets, Supply-Chain Attacks
7 lessons
43 min read
AI Agents/IDEs for Laravel: May 2026 (Claude Code, Codex, OpenCode, etc)
7 lessons
52 min
Laravel 13 Eloquent: Expert Level
41 lessons
1 h 34 min