Error Composer when downloading phpDoc

0

Operating System: ubuntu 14.04 PHP 5.3.10 curl 7.22.0

I'm trying to download phpdocumentor 2.0.0. But it gives this error:

    Your requirements could not be resolved to an installable set of packages.
 Problem 1
    - phpdocumentor/template-zend 1.3.2 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
    - phpdocumentor/template-zend 1.3.1 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
    - phpdocumentor/template-zend 1.3.0 requires ext-xsl * -> the requested PHP extension xsl is missing from your system.
    - phpdocumentor/phpdocumentor v2.0.0 requires phpdocumentor/template-zend ~1.3 -> satisfiable by phpdocumentor/template-zend[1.3.0, 1.3.1, 1.3.2].
    - Installation request for phpdocumentor/phpdocumentor 2 -> satisfiable by phpdocumentor/phpdocumentor[v2.0.0]

The composer.json:

{
    "require-dev": {
        "phpdocumentor/phpdocumentor": "2.*"
    }
}

I'm using the command:

php composer.phar install

Should I change the .json? .

    
asked by anonymous 04.07.2014 / 01:13

1 answer

5

The error message says:

  

the requested PHP extension xsl is missing from your system.

That is, you need to install the PHP xsl extension that is required.

In Ubuntu, use the following command:

$ sudo apt-get install php5-xsl
    
04.07.2014 / 02:39