Home > Development Tools > composer > composer cleans up libraries without dependencies

composer cleans up libraries without dependencies

藏色散人
Release: 2020-08-01 11:55:31
forward
3171 people have browsed it

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

composer cleans up libraries without dependencies

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
Copy after login

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!

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Composer failed to install TP51
From 1970-01-01 08:00:00
0
0
0
PHP study installation composer cannot be used
From 1970-01-01 08:00:00
0
0
0
php - Error using composer
From 1970-01-01 08:00:00
0
0
0
ThinkPHP Why use composer?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template