无法使用Composer安装

时间:2019-05-18 21:01:31

标签: git composer-php install

我正在尝试安装GitHub带宽限制,但遇到Composer错误。

  1. 通过FTP,我创建了一个名为“带宽”的目录。
  2. 通过SSH,我克隆了:
    git clone https://github.com/bandwidth-throttle/bandwidth-throttle
    
  3. 通过SSH,我尝试通过在新创建的bandwidth / bandwidth-throttle目录内执行以下命令进行安装:
    composer require bandwidth-throttle/bandwidth-throttle
    

这是结果(Composer错误):

Using version ^0.1.0 for bandwidth-throttle/bandwidth-throttle
./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
    - Installation request for bandwidth-throttle/bandwidth-throttle ^0.1.0 -> satisfiable by bandwidth-throttle/bandwidth-throttle[0.1].
    - bandwidth-throttle/bandwidth-throttle 0.1 requires bandwidth-throttle/token-bucket ^0.3 -> satisfiable by bandwidth-throttle/token-bucket[0.3] but these conflict with your requirements or minimum-stability.


Installation failed, reverting ./composer.json to its original content.

0 个答案:

没有答案