php - Autoload issue in PhpStorm and Laravel -


i have created laravel project using phpstorm when open index.php in browser shows errors.

it opens http://localhost:63342/metu/public/index.php should http://localhost:63342/index.php.

warning: require(c:\users\ilhan\phpstormprojects\metu\bootstrap/../vendor/autoload.php): failed open stream: no such file or directory in c:\users\ilhan\phpstormprojects\metu\bootstrap\autoload.php on line 17 fatal error: require(): failed opening required 'c:\users\ilhan\phpstormprojects\metu\bootstrap/../vendor/autoload.php' (include_path='.;c:\php\pear') in c:\users\ilhan\phpstormprojects\metu\bootstrap\autoload.php on line 17 

what wrong project?

that error occurs when haven't run composer install on new laravel project. autoload file references created when run command.

as url issue, want make sure localhost mapped /public folder of laravel project, not mapped root of it.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -