The Laravel Artisan Cheatsheet now has an API. Learn more.


Create a new email class


  • force - Create the class even if the mailable already exists Optional
  • markdown - Create a new Markdown template for the mailable Optional
  • test - Generate an accompanying PHPUnit test for the Mailable Optional
  • pest - Generate an accompanying Pest test for the Mailable Optional


  • name - The name of the mailable Required
php artisan make:mail [-f|--force] [-m|--markdown [MARKDOWN]] [--test] [--pest] [--] <name>