Can't install phpDocumentor via Composer

前端 未结 3 1715
天涯浪人
天涯浪人 2020-12-20 19:05

In composer.json I\'ve got

{
    \"require\":
    {
        \"phpdocumentor/phpdocumentor\": \"*\"
    }
}

It\'s what is there because I\'m

3条回答
  •  星月不相逢
    2020-12-20 19:14

    The error message indicates that you are missing the XSL extension in your PHP setup. You can see http://www.php.net/manual/en/xsl.installation.php for more information on installing that extension.

    Please note that the XSL extension is not necessary for the default template; you can also choose to use the PHAR executable or the downloadable archive. These can be downloaded from https://github.com/phpDocumentor/phpDocumentor2/releases/latest. These two do not check for the XSL extension and can thus be safely used.

提交回复
热议问题