New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--quiet should output errors #4017

lastorset opened this Issue May 9, 2015 · 3 comments


None yet
4 participants
Copy link

lastorset commented May 9, 2015

In my experience (which, admittedly, does not cover a lot of the modern PHP ecosystem), the convention for --quiet is that it silences all output when things are going well, but still outputs warnings and errors. Often additional quiet levels are offered, so you could squelch normal messages at level 1, warnings at level 2, and errors (the current Composer behavior) at level 3.

My use case is that I want to include "composer install" in a deployment script, but I don't want a lot of noise when there isn't any problem. Currently 4 lines are output if all packages are OK. With --quiet, nothing is output if there is an error. I would like --quiet not to squelch errors.

Ideally I would want multiple quiet levels, one of which shows a one-line message before installing each top-level package (i. e. not for each dependency), and nothing else except warnings and errors. That's the one I would use for my script.


This comment has been minimized.

Copy link

hkdobrev commented May 13, 2015



This comment has been minimized.

Copy link

alcohol commented Jun 3, 2015

Proper use of output levels (verbose, very verbose, very very verbose) and the ones you suggested (different quiet levels) is definitely a nice to have. It requires quite a lot of grunt work though, so it probably isn't going to happen any time soon.


This comment has been minimized.

Copy link

Seldaek commented Jun 3, 2015

The problem is that this is defined by symfony/console itself and --quiet disables all output. I think moving this discussion there would be best, similarly the -v/vv/vvv initially came from here.

@Seldaek Seldaek closed this Jun 3, 2015

francoisfaubert added a commit to iprospect-canada/iprospect-strata-scripts that referenced this issue Dec 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment