What does --prefer-dist
mean when using create-project to install laravel4?
Asked
Active
Viewed 5,687 times
5
-
2This has been answered here: http://stackoverflow.com/questions/26079571/installing-laravel-prefer-dist and it is also documented in the composer documentation and discussed in other resources. There is no way you could have missed it if you had made an attempt to Google it yourself first. – Quasdunk Jan 22 '15 at 11:33
-
Does this answer your question? [installing laravel --prefer-dist](https://stackoverflow.com/questions/26079571/installing-laravel-prefer-dist) – nice_dev Sep 22 '20 at 05:30
1 Answers
0
--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.

David Buck
- 3,752
- 35
- 31
- 35

Asghar Ali
- 21
- 4