Home  >  Article  >  Backend Development  >  Does composer need to manually process files when installing unit?

Does composer need to manually process files when installing unit?

WBOY
WBOYOriginal
2016-12-01 00:25:561219browse

Composer will download a bunch of files when installing unit. Do I need to manually process them after downloading them?

Does composer need to manually process files when installing unit?Does composer need to manually process files when installing unit?

Reply content:

Composer will download a bunch of files when installing unit. Do I need to manually process them after downloading them?

Does composer need to manually process files when installing unit?Does composer need to manually process files when installing unit?

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>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn