composer 卸载或移除包使用 remove 命令:
composer remove 包名
比如卸载:topthink/think-image 包:
composer remove topthink/think-image

如果不确定准确的包名,可以通过 show 命令查看安装的扩展包列表。
composer show -i

(adsbygoogle = window.adsbygoogle || []).push({});
来源:https://www.02405.com/archives/8992