Composer 插件在删除之前获取所有被删除的包的列表
我有一个 Composer 插件,可以执行一些包资产安装等操作。
我添加了一些在包卸载时发生的逻辑。但是,有时插件本身会在安装其他需要该插件功能的软件包之前被删除。
有没有办法在删除开始之前获取要删除的所有软件包的列表?
或者,有没有办法强制最后删除插件?
I have a Composer plugin that does some of our package asset installations, etc.
I'm adding some logic that occurs on a package uninstall. However, sometimes the plugin itself is removed before other packages that are being installed and need the functionality of the plugin.
Is there a way to get a list of all packages that are goin to be removed before the removals start?
Or, is there a way to force the plugin to be removed last?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论