installing laravel --prefer-dist

后端 未结 2 810
温柔的废话
温柔的废话 2021-01-31 08:31

I am following the Laravel installation on their website and I came across this line

composer create-project laravel/laravel --prefer-dist

Now, what

2条回答
  •  耶瑟儿~
    2021-01-31 08:52

    It's all available here: https://getcomposer.org/doc/03-cli.md#install

    --prefer-dist: Reverse of --prefer-source, composer will install from dist if possible. This can speed up installs substantially on build servers and other use cases where you typically do not run updates of the vendors. It is also a way to circumvent problems with git if you do not have a proper setup.

提交回复
热议问题