Install Composer:
Download Composer.phar to the project, create Composer.bat and Composer.json in the sibling directory
Enter in Composer.bat
@php "%~dp0composer.phar"%*
Enter in Composer.json
{ " repositor IES : { " packagist " : { type " : " composer " " url ": " https://packagist.phpcomposer.com " }}}
Composer.json: "url": "https://packagist.phpcomposer.com" is to jump to the Chinese mirror network, otherwise it will be wall.
If you do not create a Composer.json file, you can enter it in the BOS (console)
Composer Config-g Repo.packagist composer https://packagist.phpcomposer.com
Jump to Domestic mirror
The global installation is installed in the Php.exe sibling directory
Copy a locally installed. Phar File to a project
Before downloading the file will go to the computer properties to perform the settings in the picture below
Enter the location you want to save in BOS after completion
Composer Create-project Laravel/laravel Blog--prefer-dist
which
Laravel/laravel, I haven't figured out what it is yet.
A blog is a saved file name that can be changed by itself
--prefer-dist let composer this will greatly speed up the installation speed (this I also smattering, so in this case, please check the information.) If it is clear, please reply me. Thank
Windows composer dependent controller download pure version Laravel