I think that the name of the file should be HomeController.php
not Homecontroller.php
.
Have you tried running composer dump-autoload
?
My guess is that you are developing your app on Windows and your server is running Linux. That is why that worked on your local machine and not on the server.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community