Preface: composer can be understood as a package / dependent / expand / component management tool, download and install things very easy to use
-
Handover source for lifting composer speed download things, the following is a handover source to the cloud Ali
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
-
Global View
composer config -g -l
-
composer download package is dependent on single-threaded download, sometimes very slow, in order to further enhance the speed, there is a multi-threaded download acceleration tool, installed after a good, composer and also use the same as before, do not worry
composer global require hirak/prestissimo
-
Install the latest version of laravel6
composer create-project laravel/laravel Laravel --prefer-dist "6.*"