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


Create a new notification class


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


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