我想将 phpdocumentor 安装到我的 Symfony 2.4 项目中,所以我在 composer.json 中添加了这两行:
"require": {
//my old requires
"phpdocumentor/template-abstract": "~1.2",
"phpdocumentor/phpdocumentor": "2.1.*@dev"
}
当我执行 php composer.phar 更新时,我有这些错误:
Problem 1
- phpdocumentor/template-abstract 1.2.1 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
- phpdocumentor/template-abstract 1.2 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
- Installation request for phpdocumentor/template-abstract ~1.2 -> satisfiable by phpdocumentor/template-abstract[1.2, 1.2.1].
虽然我在我的 php 扩展中安装了 php_xsl?!!谢谢你。