php - phpDocumentor installation fails in laravel using composer -


i trying install phpdocumentor using composer doing composer require phpdocumentor/phpdocumentor in laravel 5.3 project generating documentation. using linux machine ubuntu16.04 , php version 7.0. getting following error

- can install 1 of: symfony/translation[v2.5.5, v3.1.10]. - can install 1 of: symfony/translation[v2.5.6, v3.1.10]. - can install 1 of: symfony/translation[v2.5.7, v3.1.10]. - can install 1 of: symfony/translation[v2.5.8, v3.1.10]. - can install 1 of: symfony/translation[v2.5.9, v3.1.10].  installation request symfony/translation (locked @ v3.1.10) -> satisfiable symfony/translation[v3.1.10]. installation failed, reverting ./composer.json original content. 

problem laravel requires symfony/translation version upwards of 3.1 i.e. ^3.1.* phpdocumentor/phpdocumentor supports symfony/translation until 2.8.9.

so can if want install phpdocumentor along-with laravel5.3?

try this

sudo apt-get install php5-xsl sudo /etc/init.d/apache restart  

worked me on linux ubuntu 16.04 intall xsl.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -