4

enter image description here

D:\jasmin\laravel\shop>php artisan serve
PHP Warning:  require(D:\jasmin\laravel\shop/vendor/autoload.php): failed to open stream: No such file or directory in D:\jasmin\laravel\shop\artisan on line 18

Warning: require(D:\jasmin\laravel\shop/vendor/autoload.php): failed to open stream: No such file or directory in D:\jasmin\laravel\shop\artisan on line 18
PHP Fatal error:  require(): Failed opening required 'D:\jasmin\laravel\shop/vendor/autoload.php' (include_path='D:\jasmin\xamp\php\PEAR') in D:\jasmin\laravel\shop\artisan on line 18

Fatal error: require(): Failed opening required 'D:\jasmin\laravel\shop/vendor/autoload.php' (include_path='D:\jasmin\xamp\php\PEAR') in D:\jasmin\laravel\shop\artisan on line 18
1

2 Answers 2

7

Try to run from command line

composer install 
or composer update
Sign up to request clarification or add additional context in comments.

Comments

2

Composer Update

You just need to run composer update to update your dependencies as they are specified in this file: composer.json. The command will generate vendor/autoload.php, too.

Laravel documentation

Laravel utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system.

On Windows, you can use the Composer Windows installer.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.