I\'m beginning using composer, I know so little about it and have a little experience with web application development.
I just walk through Nettuts+ Tutorial, so I h
According to composer's manual:
require-dev (root-only)
Lists packages required for developing this package, or running tests, etc. The dev requirements of the root package are installed by default. Both
installorupdatesupport the--no-devoption that prevents dev dependencies from being installed.
So running composer install will also download the development dependencies.
The reason is actually quite simple. When contributing to a specific library you may want to run test suites or other develop tools (e.g. symfony). But if you install this library to a project, those development dependencies may not be required: not every project requires a test runner.