After installation Laravel, the index file is started from the public folder. To run from root location follow below instructions:
- Rename
server.php
located in your Laravel root directory toindex.php
- Copy the
.htaccess
file from/public
directory and paste it to your Laravel root directory. I have tried it in Laravel 5.6.