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
-
Welcome to StackOverflow. Please take the tour an read What topics can I ask about and What topics to avoid and How to ask a good question and the perfect question and how to create a Minimal, Complete and Verifiable Example.common sense– common sense2018-12-11 07:16:54 +00:00Commented Dec 11, 2018 at 7:16
Add a comment
|
2 Answers
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 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 tousr/local/binto use it globally on your system.On Windows, you can use the Composer Windows installer.