route not hit into controller function laravel 6 code example Example: Laravel route not calling function of controller //in the terminal run composer dump-autoload