make:listener

Create a new event listener class

Options

  • event - The event class being listened for Optional
  • queued - Indicates the event listener should be queued Optional

Arguments

  • name - The name of the class Required
php artisan make:listener [-e|--event [EVENT]] [--queued] [--] <name>