Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

BENderIsGr8te's avatar

Composer with --no-dev flag

When Enovyer runs the Composer Install, is it doing so with the --no-dev flag? I have seen some of my Dev only packages that exist in my require-dev appear on my live apps before and cause errors.

Also, when I added a non-Laravel project the Composer set gets skipped even though there is a composer.json file and composer is installed and ready to go. I had to add a post-composer hook that runs composer install and that one works like a champ while the built in composer update skips completely.

The message says Skipping Composer Install.

I've tried adding the full path to composer to my server settings in Envoyer as well as just "composer" as well as leaving it blank and the message appears every time.

0 likes
2 replies
devcflynn's avatar

I seem to be having the same problem. Dev only packages keep getting installed. But, I can't change the composer call to include --no-dev.

stefanX201's avatar

Go to settings->source-control and uncheck Install "Dev" Composer Dependencies

4 likes

Please or to participate in this conversation.