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
Post a Comment