zend framework 2 composer.php

我的梦境 提交于 2019-12-25 12:37:33

问题



when I try to install webino-image-thumb using zend php composer it gave me this error

php composer.phar require webino/webino-image-thumb:2.*<br/>
./composer.json has been updated<br/>
Loading composer repositories with package information<br/>
Ignoring unknown parameter "server role"<br/>
Updating dependencies (including require-dev)<br/>
Your requirements could not be resolved to an installable set of packages.<br/><br/>



 Problem 1<br/>
    - Can only install one of: zf-commons/zfc-admin[v0.1.0, dev-master].<br/>
    - Can only install one of: zf-commons/zfc-admin[v0.1.0, dev-master].<br/>
    - Installation request for zf-commons/zfc-admin 0.1.0 -> satisfiable by zf-commons/zfc-admin[v0.1.0].<br/>
    - Installation request for zf-commons/zfc-admin == 9999999-dev -> satisfiable by zf-commons/zfc-admin[dev-master].<br/>Any help<br/>Lanka

回答1:


Just replace "webino/webino-image-thumb":"2.*" by "webino/webino-image-thumb":"1.*"

Composer filters packages by stability and by default it requires a minimum stability of stable. You can change this to RC since webino-image-thumb is 2.0.0-RC1 at the time of writing this or just use the 1.* stable release. Check the doc here



来源:https://stackoverflow.com/questions/21307370/zend-framework-2-composer-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!