#### 1. remove 命令簡(jiǎn)介 --- remove 命令用于移除 composer.json 中的擴(kuò)展包 也可以一次移除多個(gè)包:`composer remove 擴(kuò)展包1 擴(kuò)展包2 擴(kuò)展包3` remove 命令官方文檔:[https://getcomposer.org/doc/03-cli.md#remove](https://getcomposer.org/doc/03-cli.md#remove) #### 2. remove 命令使用示例 --- **刪除一個(gè)包** ``` composer remove topthink/think-think-multi-app ``` ![](https://img.itqaq.com/art/content/50b78200faf366698dac6422c0a933b3.png) **一次刪除多個(gè)包,使用空格隔開(kāi)即可** ``` composer remove topthink/think-view topthink/think-captcha ``` ![](https://img.itqaq.com/art/content/c5fc3538e7eb814d86129eb5a60df0fb.png) **刪除最后一個(gè)包** ``` composer remove endroid/qr-code ``` ![](https://img.itqaq.com/art/content/3cff615ed86a960230c869c7d9496840.png)