According to this answer, packages listed in composer.json's require-dev
section will still be installed when you do
composer install
Since composer install
is a normal thing to do as part of a production install, to install all versions specified in the composer.lock file, how do you avoid installing things you only need for development? I'm accustomed to Gemfiles, where specifying something for dev means it is ignored in production, and can't quite wrap my mind around why anyone would ever want to install everything in production.