所需工具 composer git
composer 安装 (windows):
官网地址: https://www.phpcomposer.com/
直接下载:https://getcomposer.org/Composer-Setup.exe
git 安装(windows)
现在地址:https://gitforwindows.org/
方式一. git 方式
git clone {laravel_git_version_path} {youself_path_project_name}
composer install
方式二 composer 安装
composer create-project laralvel/laravel {youself_path_project_name} "version_code(5.7.*)"
方式三 laravel 安装
安装laravel安装程序
composer global require laravel/installer
安装Laravel
laravel new {youself_path_project_name}
生成 引用密匙
php artisan key:generate
查看 laravel 版本
php artisan -V