Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Quando tento instalar o zend-developer-tools:dev-master

MacBook-Pro-de-Paulo:skeleton-application paulohsz$ composer require zendframework/zend-developer-tools:dev-master ./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 zendframework/zend-developer-tools dev-master -> satisfiable by zendframework/zend-developer-tools[dev-master]. - Conclusion: don't install zendframework/zend-eventmanager 2.5.1 - zendframework/zend-developer-tools dev-master requires zendframework/zend-eventmanager ^2.6.2 || ^3.0 -> satisfiable by zendframework/zend-eventmanager[2.6.3, 2.6.2, 3.0.0, 3.0.1, 3.1.0]. - Can only install one of: zendframework/zend-eventmanager[2.6.2, 2.5.1]. - Can only install one of: zendframework/zend-eventmanager[2.6.3, 2.5.1]. - Can only install one of: zendframework/zend-eventmanager[2.5.1, 2.6.3]. - Can only install one of: zendframework/zend-eventmanager[3.0.0, 2.5.1]. - Can only install one of: zendframework/zend-eventmanager[3.0.1, 2.5.1]. - Can only install one of: zendframework/zend-eventmanager[3.1.0, 2.5.1]. - Installation request for zendframework/zend-eventmanager (locked at 2.5.1) -> satisfiable by zendframework/zend-eventmanager[2.5.1].

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

Caso eu tente instalar o zendframework/zend-eventmanager começo a ter problemas em cadeia porque aparece:

MacBook-Pro-de-Paulo:skeleton-application paulohsz$ composer require zendframework/zend-eventmanager Using version ^3.1 for zendframework/zend-eventmanager ./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 - zendframework/zend-mvc 2.5.1 requires zendframework/zend-eventmanager ~2.5 -> satisfiable by zendframework/zend-eventmanager[2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.x-dev] but these conflict with your requirements or minimum-stability. - zendframework/zend-mvc 2.5.1 requires zendframework/zend-eventmanager ~2.5 -> satisfiable by zendframework/zend-eventmanager[2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.x-dev] but these conflict with your requirements or minimum-stability. - zendframework/zend-mvc 2.5.1 requires zendframework/zend-eventmanager ~2.5 -> satisfiable by zendframework/zend-eventmanager[2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.x-dev] but these conflict with your requirements or minimum-stability. - Installation request for zendframework/zend-mvc (locked at 2.5.1) -> satisfiable by zendframework/zend-mvc[2.5.1].

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

E assim por diante.

2 respostas

Eu também tive esse problema, parece que algumas versão do ZDT só funcionam com certas versão do Zend Framework. Comigo deu certo o 1.1.0:

composer require zendframework/zend-developer-tools:1.1.0

Estou utilizando o ZF 2.5

Aqui você encontra as demais versões do ZDT, caso precise https://packagist.org/packages/zendframework/zend-developer-tools

solução!

Ed Cesar obrigado pela resposta realmente sanou meu problemas! Mas a versão utilizada foi a 1.0.0 . Sendo que estou usando a versão do Zend 2.5.1

Utilizei no terminal:

composer require zendframework/zend-developer-tools:1.0.0