Phpdocumentor: Composer installation fails with Symfony 3.2.*

Created on 4 Jan 2017  路  5Comments  路  Source: phpDocumentor/phpDocumentor

My installed version is 3.2.2 but Composer state: Installation request for symfony/symfony (locked at v3.2.1, required as 3.2.*) -> satisfiable by symfony/symfony[v3.2.1].
I don't see much deep but I don't see if we only need to allow a major version to fix this.
Can someone confirm that or have a workaround?

All 5 comments

installation requires Symfony/Validator 2.8.9 which is unsuitable with Symfony 3.2.*

Problem 1
- Installation request for phpdocumentor/phpdocumentor ^2.9 -> satisfiable by phpdocumentor/phpdocumentor[v2.9.0].
- phpdocumentor/phpdocumentor v2.9.0 requires symfony/validator ~2.2 -> satisfiable by symfony/validator[2.2.x-dev-2.8.x-dev, v2.2.0-v2.8.9] but these conflict with your requirements or minimum-stability.

Please use the provided phar.

We do not support composer installs in all projects.

Please use the provided phar.

This means that will resolve the issue?

We do not support composer installs in all projects.

In the installation section it's mentioned at point 2 as supported.

Yes we provide a way to install phpdocumentor via composer. But we won't support all projects. Composer will give you conflicts at some point. That means that we have to upgrade our dependencies and be backwards compatible for older projects. There is no way to accomplish that.

If you use the phar you don't have a composer dependency. So it won't conflict.

We changed our statement about the installation of php applications like phpdocumentor Version 3 of phpdocumentor won't have composer support when it is released. Applications should be installed stand-alone, and not be part of your project. due to many conflicts we had in the past.

Thanks for the clarifications @jaapio

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jrfnl picture jrfnl  路  5Comments

joshmbg picture joshmbg  路  5Comments

Schlaefer picture Schlaefer  路  4Comments

alissonzampietro picture alissonzampietro  路  6Comments

h0gar picture h0gar  路  4Comments