That must be what composer install is supposed to do. But it doesn't remove no longer needed packages. Well, I can remove packages with composer remove PACKAGE instead of editing composer.json by hand, but that still leaves dependencies in composer.lock and vendor dir.
Asked
Active
Viewed 67 times
0
x-yuri
- 13,809
- 12
- 96
- 141
1 Answers
0
If composer remove PACKAGE does not work, probably the package that you don't require is required by another package.
if you want to make sure, delete vendor folder and do a composer update (beware of the vendor/package: * that you have on your composer.json)
If the vendor still have that package, it's because it's needed by another.
mloureiro
- 897
- 1
- 12
- 32