API Platform v1.1.1 & Symfony 3.2.8 composer conflict

Viewed 536

I have Symfony Demo Application up and running and now I'm trying to install API Platform as a standalone bundle.

I'm using PHP 7.0.10 with latest composer, but my previous test was using PHP 5.6.20.

When I try to add API Platform Core as a dependency, I get the following error message:

$ composer require api-platform/core
Using version ^1.1 for api-platform/core
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for symfony/symfony (locked at v3.2.8, required as ^3
.2) -> satisfiable by symfony/symfony[v3.2.8].
    - api-platform/core v1.1.0 requires phpdocumentor/reflection ^1.0.7 -> satis
fiable by phpdocumentor/reflection[1.0.7].
    - api-platform/core v1.1.1 requires phpdocumentor/reflection ^1.0.7 -> satis
fiable by phpdocumentor/reflection[1.0.7].
    - Conclusion: don't install phpdocumentor/reflection 1.0.7
    - Installation request for api-platform/core ^1.1 -> satisfiable by api-plat
form/core[v1.1.0, v1.1.1].


Installation failed, reverting ./composer.json to its original content.
2 Answers
Related