Remove public from URL in Laravel

To remove public from URL in laravel you need to follow below steps.

Rename the server.php in the your Laravel root folder to index.php
Move all folder from public to root.
copy the .htaccess file from /public directory to your Laravel’s project root folder.

Note:- This is not a safe way. A safer way is place Laravel’s files outside your web server root and make the Laravel’s public directory your web server root. Route your website to public folder in place of public_html. You can do this with help of your server administrator.