I know this is a very popular question but I haven\'t been able to find a working solution for Laravel 5. I\'ve been trying to migrate from Codeigniter for a long time, but
Firstly you can use this steps
For Laravel 5:
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.
source: https://stackoverflow.com/a/28735930
after you follow these steps then you need to change all css and script path, but this will be tiring.
Solution Proposal :simply you can make minor change the helpers::asset
function.
For this:
open vendor\laravel\framework\src\Illuminate\Foundation\helpers.php
goto line 130
write "public/".$path
instead of $path
,
function asset($path, $secure = null){
return app('url')->asset("public/".$path, $secure);
}