Remove public folder in laravel 5.3 its easy, and simple. for first you need going to laravel folder project, for example my folder C:\xampp\htdocs\mylaravel .
after enter the folder laravel, make new folder with name "source" and move all file and folder to source folder, except public folder.
Click image for more size |
after move file and folder, delete public folder and edit file index.php like image below.
Click image for more size |
after edit index.php, now we can open url not using public, only http://localhost/name_projec_laravel_folder, example my folder laravel project, http://localhost/mylaravel
0 Comments for "how to remove public from laravel 5.3"