加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

composer-php – 最小稳定性问题

发布时间:2020-12-13 16:56:39 所属栏目:PHP教程 来源:网络整理
导读:我想通过composer安装neitanod / forceutf8,我收到错误: Could not find package require at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability. 这是第二次这样做 – 以前使用html2text. 怎么解决?
我想通过composer安装neitanod / forceutf8,我收到错误:

Could not find package require at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability.

这是第二次这样做 – 以前使用html2text.
怎么解决?

编辑:
我的composer.json:

{
  "name": "vendor_name/package_name","description": "description_text","minimum-stability": "dev","license": "proprietary","authors": [
    {
      "name": "author's name","email": "email@example.com"
    }
  ],"require": {
    ...
  }
}

解决方法

在您的命令中,您复制require关键字.

composer.phar需要neitanod / forceutf8:v1.4 require =>这意味着您要安装2个软件包. neitanod / forceutf8:v1.4并要求.

尝试运行composer.phar只需要neitanod / forceutf8.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读