composer强制安装插件

composer require第三方包的时候,发生某些错误,可以试用强制安装

带上引包的时候带上 --ignore-platform-reqs

composer require qiniu/php-sdk:^7.2  --ignore-platform-reqs

参数说明

--ignore-platform-reqs: ignore all platform requirements (php, hhvm, lib-* and ext-*) and force the installation even if the local machine does not fulfill these. See also the platform config option

忽略所有平台要求(php,hhvm,lib- *和ext- *)并强制安装,即使本地计算机不满足这些要求

posted @   zhang_you_wu  阅读(292)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· winform 绘制太阳,地球,月球 运作规律
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
历史上的今天:
2019-06-21 request :fail url not in domain list
点击右上角即可分享
微信分享提示