所需工具 composer git
composer 安裝 (windows):
官網(wǎng)地址: https://www.phpcomposer.com/
直接下載:https://getcomposer.org/Composer-Setup.exe
git 安裝(windows)
現(xiàn)在地址: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