Log-based mail driver--writes emails to the log instead of sending them, ideal for development and testing.
composer require marko/mail-loguse Marko\Mail\Contracts\MailerInterface;
use Marko\Mail\Log\LogMailer;
return [
'bindings' => [
MailerInterface::class => LogMailer::class,
],
];Full usage, API reference, and examples: marko/mail-log