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

make:event

Create a new event class

Arguments

  • name - The name of the class Required
php artisan make:event <name>