Laravel: Get controller action name in the request

Published in Laravel, Code on Apr 10, 2015

To get the controller action being routed to:

$request->route()->getActionName();