使用github laravel 5.2项目


using github laravel 5.2 projects

当我试图从github下载larvael 5.x项目并尝试使用它时

我有两个错误:

Warning: require(C:'wamp'www'laravelshop'vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php): failed to open stream: No such file or directory in C:'wamp'www'laravelshop'vendor'composer'autoload_real.php on line 54
Fatal error: require(): Failed opening required 'C:'wamp'www'laravelshop'vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php' (include_path='.;C:'php'pear') in C:'wamp'www'laravelshop'vendor'composer'autoload_real.php on line 54

在下载任何项目后,在使用之前,我需要先修改什么吗?

您需要autoload.php来包含Laravel的库/依赖项。请进入根目录并运行composer install(前提是您的系统中安装了composer)。

1)将php.exe添加到环境变量窗口中。

2) 下载作曲家:https://getcomposer.org/download/

3) 创建项目类型:php composer.phar Create project--preferred dist laravel/laravel projectname