Why would you write code into Laravel Event Listeners such as Event::listen('user.login', 'LoginHandler')
instead of directly into the controller function?
And if several different controller functions call the same code, why would you use Event listeners rather than calling a static function from a library class?