Solution: please make sure that you are created controller through command prompt,or else delete the controller and recreate the controller through artisan command,
take composer update
Solution: please make sure that you are created controller through command prompt,or else delete the controller and recreate the controller through artisan command,
take composer update