问问题
612 次
1 回答
0
Ok so a lot of research and try and errors I figured out a way that worked for me. I am using Windows 8.1.
- I have installed php 7 in c:\php.
Note : Download
php
from http://php.net/downloads.php. DownloadNon Thread Safe version
inzip format
and extract it to the desired folder (I extracted in C:\php).
- After that I have installed
composer
using composer installer and did nothing after that, like setting PATH on environment setting, Installer will do it for you.
Download Composer Installer from https://getcomposer.org/download/.
- After that I have downloaded
laravel
from github and exctrated to the desired project folder.
Download Laravel latest version from https://github.com/laravel/laravel
- After that I ran
"composer self-update"
command. - After that I ran
"composer update"
command. - After that I ran
"composer global require “laravel/installer”"
command. This command will install Laravel Installer.
Now I can go to the project folder directory and run "laravel new myProjectName" command to create new laravel project.
于 2017-11-26T16:42:59.640 回答