The following tutorial column of composer will introduce to you how composer cleans up libraries without dependencies. I hope it will be helpful to friends who need it! Solution to
Specific problem:
During the project process, it is really convenient to maintain dependencies through composer, but sometimes After the library was added, it was found that it was useless. Over time, more and more useless libraries were added.
I wonder if composer has cleaned up the libraries with useless dependencies
Solution:
composer remove some/package
will do!
The above is the detailed content of composer cleans up libraries without dependencies. For more information, please follow other related articles on the PHP Chinese website!