Answer the question
In order to leave comments, you need to log in
What keys to run "composer install" on production?
So far I've come up with this:
composer install --no-dev --prefer-dist --no-scripts --optimize-autoloader --apcu-autoloader --quiet
composer dump-autoload --optimize --no-dev --quiet
Answer the question
In order to leave comments, you need to log in
Level 1: dump-autoload -o
and --optimize-autoloader
it's the same thing.
Level 2A: dump-autoload -a
and --classmap-authoritative
it's the same thing.
Level 2B: dump-autoload -acpu
and --apcu-autoloader
it's the same thing.
Either Level 1 or Level 2A or Level 1 + Level 2B is used (as in your case). For sale, 2A or 1 + 2B is better.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question