Composer · Question 12 of 12
Which statements about Composer are correct?
3 answers are correct. Hard
Show answer
Answer
- B composer create-project creates a new project from a package
- C composer require changes composer.json and composer.lock
- E composer install without composer.lock resolves the constraints itself
Explanation
create-project creates a project, require and remove change both files. If composer.lock is missing, install behaves like update and writes a new lock file. composer.lock is never edited by hand.