composer package management tools, updated from time

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.*"

Published 13 original articles · won praise 1 · views 1947

Guess you like

Origin blog.csdn.net/qq_37029718/article/details/104992004