php - What's the difference between require and require-dev? -


i'm new composer , know difference between require , require-dev. composer website doesn't offer explanation difference between these two.

the part don't lists packages required developing package, or running tests, etc. composer official docs.

the require-dev packages packages aren't necessary project work , shouldn't included in production version of project.

typically, these packages such phpunit/phpunit use unit testing project.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -