Home >Backend Development >PHP Tutorial >Does composer need to manually process files when installing unit?
Composer will download a bunch of files when installing unit. Do I need to manually process them after downloading them?
Composer will download a bunch of files when installing unit. Do I need to manually process them after downloading them?
No manual processing is required. If you develop locally and need to use unit testing, just do it directly
<code>composer install </code>
will install all dependencies and dependencies in the require-dev
command. If you do not need these unit test-related packages in an online environment, you can add the --no-dev
option so that unit tests will not be downloaded. Relevant dependencies.
<code>composer install --no-dev --prefer-dist --optimize-autoloader </code>