The only difference between them seems to be is, handler:event
is from Laravel 5.0's folder structure, and make:listener
is the new & current folder structure. Functionally, they are the same! - Upgrade Guide to Laravel 5.1
Commands & Handlers
The app/Commands directory has been renamed to
app/Jobs. However, you are not required to move all of your commands
to the new location, and you may continue using the make:command and
handler:command Artisan commands to generate your classes.
Likewise, the app/Handlers directory has been renamed to app/Listeners
and now only contains event listeners. However, you are not required
to move or rename your existing command and event handlers, and you
may continue to use the handler:event command to generate event
handlers.
By providing backwards compatibility for the Laravel 5.0 folder
structure, you may upgrade your applications to Laravel 5.1 and slowly
upgrade your events and commands to their new locations when it is
convenient for you or your team.
It's just the backward compatibility provided in Laravel 5.1. In other words, earlier, Jobs/Commands/Listeners were not self-handling, now they are.
Note that, handler:event
is not available after Laravel 5.1.