Answer the question
In order to leave comments, you need to log in
How to painlessly fix Composer dependencies?
The project that I got has Lock and json files, but json does not contain even half of the packages that are registered in Lock
. How can I painlessly restore or put json in order, register all packages manually from Lock? Then delete Locky and the vendors folder and reinstall everything?
Answer the question
In order to leave comments, you need to log in
but in json there is not even half of the packages that are registered in Lock
"symfony/var-dumper": "4.0.*"
, it has in dependencies "symfony/polyfill-mbstring": "~1.0",
, this package is listed in my .lock, but it makes no sense to follow these manual dependencies - this is harmful, dangerous and unnecessary, everything that the package needs - the composer will pull it up :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question