无法在Laravel中安装插件

时间:2019-03-03 10:49:43

标签: php laravel composer-php

我正在尝试在Laravel项目上安装domain-availability,但这就是结果

PS C:\..\workspace v2> composer require helgesverre/domain-availability
Using version ^1.4 for helgesverre/domain-availability
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - helgesverre/domain-availability 1.4.0 requires jeremykendall/php-domain-parser ^3.0 -> satisfiable by jeremykendall/php-domain-parser[3.x-dev].
    - helgesverre/domain-availability v1.4.1 requires jeremykendall/php-domain-parser ^3.0 -> satisfiable by jeremykendall/php-domain-parser[3.x-dev].
    - Conclusion: don't install jeremykendall/php-domain-parser 3.x-dev
    - Installation request for helgesverre/domain-availability ^1.4 -> satisfiable by helgesverre/domain-availability[1.4.0, v1.4.1].


Installation failed, reverting ./composer.json to its original content.
PS C:\..\workspace v2>

我正在使用这个图书馆 https://github.com/HelgeSverre/Domain-Availability

并且我在extension=intl文件中激活了php.ini

并使用命令

安装jeremykendall/php-domain-parser
composer require jeremykendall/php-domain-parser

我该如何解决这个问题?

0 个答案:

没有答案