I cloned LARAVEL project from git and made "composer install" and sett .env file. Then I started project using "php artisan serve" and after it I got errors "Class App\Http\Controllers\NAME_OF_CONTROLLER does not exist".
It started working after I put controllers inside vendor/laravel/laravel/app/Http/Controllers. But that doesn't seems to be right way right?
Also, I tried with clean laravel installation but same thing happens. If I make route to welcome blade it works. It doesn't work only if I have to use Controllers. I am using XAMPP on Windows machine.
What I am missing? Does some part of installing everything on Windows is incorrect and leads to this error?
Thank you in advance.