Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove extension from vendor?

I have cloned a project written in Yii2. There are some extensions in vendor folder which I want to remove them from project. How can I do this? I am sure they are installed using composer because they are noted in composer.lock file.

like image 268
hd. Avatar asked Oct 24 '25 23:10

hd.


1 Answers

If you just want to remove packages from the vendor folder you can use composer command:

composer remove package/name

If you want to remove calls to these packages in the project you need to do this manually.

like image 190
Bizley Avatar answered Oct 26 '25 23:10

Bizley