When I do composer install
on the production system, should I use the flag --prefer-dist
?
--no-dev
is recommended, since it prevents the installation of packages that are only needed during development. But what is with --prefer-dist
? This flag makes that the installed packages are without VCS stuff, as I read in this answer. I assume that I don't need this on a production machine. Am I right?