作曲家未在Packagist中检测到软件包的版本

时间:2018-09-26 17:52:45

标签: git composer-php packagist

我需要"egulias/emailvalidator:~2.0",当我执行composer install时,它可以在我的图书馆中正常工作。

但是,使用我的库的软件尝试执行composer install,要求我的库又需要使用egulias,并且出现此错误,就好像该要求没有2.0版本一样:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: egulias/email-validator[2.0.x-dev, 1.2.14].
    - Can only install one of: egulias/email-validator[2.0.x-dev, 1.2.14].
    - Can only install one of: egulias/email-validator[2.0.x-dev, 1.2.14].
    - bi/grv v4.x-dev requires egulias/email-validator ~2.0 -> satisfiable by egulias/email-validator[2.0.x-dev].
    - Installation request for bi/grv v4.x-dev -> satisfiable by bi/grv[v4.x-dev].
    - Installation request for egulias/email-validator (locked at 1.2.14, required as ^1.2) -> satisfiable by egulias/email-validator[1.2.14].

但是该软件包的Packagist版本为2.1.6。 https://packagist.org/packages/egulias/email-validator

该如何解决?

0 个答案:

没有答案