相关疑难解决方法(0)

无法通过Composer安装phpDocumentor

在composer.json我有

{
    "require":
    {
        "phpdocumentor/phpdocumentor": "*"
    }
}
Run Code Online (Sandbox Code Playgroud)

它是什么,因为我正在尝试使用./composer.phar install命令将phpDocumentor安装到一个隔离的文件夹中.但我得到的是

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
    - phpdocumentor/phpdocumentor v2.0.0 requires phpdocumentor/template-abstract ~1.2 -> satisfiable by phpdocumentor/template-abstract[1.2, 1.2.1].
    - phpdocumentor/phpdocumentor v2.0.1 requires phpdocumentor/template-abstract ~1.2 -> satisfiable by phpdocumentor/template-abstract[1.2, 1.2.1].
    - phpdocumentor/phpdocumentor v2.1.0 requires phpdocumentor/template-abstract ~1.2 -> satisfiable by phpdocumentor/template-abstract[1.2, 1.2.1].
    - phpdocumentor/phpdocumentor v2.2.0 requires phpdocumentor/template-abstract ~1.2 -> satisfiable by phpdocumentor/template-abstract[1.2, 1.2.1]. …
Run Code Online (Sandbox Code Playgroud)

php package-managers documentation-generation composer-php

7
推荐指数
2
解决办法
6787
查看次数