--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.
composer 로 설치하는 방법은 기존과 비슷한데,
--prefer-dist
옵션만 추가됨https://laravel.com/docs/8.x#via-composer-create-project
https://getcomposer.org/doc/03-cli.md
--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.