When you install Laravel in your server you will get URL like this to list your customers
http://yourdomain.com/public/customers
I need somethig like this
http://yourdomain.com/customers
This is the solution. You have to do two things to remove “public/index.php” from the URL
1 Rename server.php
in your Laravel root folder to index.php
2 Copy the .htaccess
file from /public
directory to your Laravel root folder.