Artisan.page

make:notification

Create a new notification class

Terminal
php artisan make:notification [-f|--force] [-m|--markdown [MARKDOWN]] [--test] [--pest] [--] <name>

Options

forceOptional

Create the class even if the notification already exists

markdownOptional

Create a new Markdown template for the notification

pestOptional

Generate an accompanying Pest test for the Notification

testOptional

Generate an accompanying PHPUnit test for the Notification

Arguments

nameRequired

The name of the class