我需要"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
该如何解决?