The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
ArtisanGPT
API
Laravel Version
5.x
make:listener
🖥
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>
Click to copy