First to install a composer, if not installed please see here composer
Windows can download Composer-setup.exe directly if the installation fails with the prompt "Unable to connect to getcomposer.org", try VPN or change the native DNS address
Use VPNFQ, or modify DNS for foreign DNS, installation is completed and then changed back. From below, choose any of the 2 (such as my chosen 8.8.4.4 and 208.67.222.222 installed successfully) Google public DNS (8.8.8.8, 8.8.4.4) OpenDNS (208.67.222.222, 208.67.220.220) OpenDNS Family (208.67.222.123, 208.67.220.123) Dyn DNS (216.146.35.35, 216.146.36.36) Comodo Secure ( 8.26.56.26, 8.20.247.20) Ultradns (156.154.70.1, 156.154.71.1) Norton Connectsafe (199.85.126.10, 199.85.127.10)
Can be cmd below try
Php-r "ReadFile (' Https://getcomposer.org/installer ');" | Php
After installation, in cmd input composer, some composer information represents the successful installation.
And then execute
Go to your destination folder below composer Create-project Laravel/laravel Laravel1
Or
Composer global require "laravel/installer=~1.1"
PHP Laravel Windows installation