Home >Backend Development >PHP Tutorial >How to uninstall extensions in Composer

How to uninstall extensions in Composer

WBOY
WBOYOriginal
2016-07-06 13:52:392427browse

As mentioned, how to uninstall extensions in Composer.

Personal guess: When installing, you can include the extension in compose.json, and then execute composer update. Then when uninstalling, can you delete the extension included in compose.json, and then execute it again? How about composer update?

Reply content:

As mentioned, how to uninstall extensions in Composer.

Personal guess: When installing, you can include the extension in compose.json, and then execute composer update. Then when uninstalling, can you delete the extension included in compose.json, and then execute it again? How about composer update?

Yes, but this will require you to install and reinstall all other dependencies..

Let’s use composer remove some/package.

Statement:
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