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

make:event

Create a new event class

Options

  • force - Create the class even if the event already exists Optional

Arguments

  • name - The name of the event Required
php artisan make:event [-f|--force] [--] <name>