Does composer need to manually process files when installing unit?

WBOY
Release: 2023-03-01 19:18:02
Original
1231 people have browsed it

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>
Copy after login

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>
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template