Composer冲突的要求

时间:2017-02-17 12:07:01

标签: composer-php version

我正在为我工​​作的公司构建一个PHP框架,而最疯狂的事情就是一直在讨价还价!

我有一个包依赖于开发中的其他包。

刚开始(当然,它们位于不同的文件夹中!):

我运行OrderByComparator orderByComparator = DLUtil.getRepositoryModelOrderByComparator(sortByCol, sortByOrder); searchContainer.setOrderByComparator(orderByComparator); 创建了一个包xxxxxx / core-min,结果是:

composer init

在Github上创建了Packagist服务,已提交,到目前为止一切正常。

我跑{ "name": "xxxxxx/core-min", "description": "Dummy Minimal Core", "type": "library", "license": "New BSD License", "authors": [ { "name": "My Name", "email": "me@xxxxxx.com" } ], "minimum-stability": "dev", "require": {} } 并完美安装。

然后,我运行composer require xxxxxx/core-min创建了一个包xxxxxx / core,结果是:

composer init

我跑了{ "name": "xxxxxx/core", "description": "Dummy Full Core", "type": "library", "require": { "xxxxxx/core-min": "dev-master" }, "license": "New BSD License", "authors": [ { "name": "My Name", "email": "me@xxxxxx.com" } ], "minimum-stability": "dev" } 并收到了这条消息:

composer require xxxxxx/core-min

这是骗我的,我无法找到任何真正的解决方案!

尝试了几个GitHub问题而没有!

0 个答案:

没有答案