Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which command should be used to install dependencies during deployment?

  1. A composer update
  2. B composer install --no-dev --optimize-autoloader
  3. C composer require
  4. D composer dump
Answer

composer install --no-dev --optimize-autoloader

install honours composer.lock for reproducible builds. update resolves new versions and rewrites the lock file, which is unsafe on a deploy.

All Php MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as