是否可以使用ZF3骨架应用程序安装doctrine orm模块? [英] is it possible to install doctrine orm module with ZF3 skeleton app?

查看:261
本文介绍了是否可以使用ZF3骨架应用程序安装doctrine orm模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对php composer的了解不过是基本的,但是...我已经下载并安装了Zend Framework 3.0.0dev MVC框架应用程序,并想知道我是否可以安装 Doctrine ORM模块连同它。

My knowledge of php composer is no more than basic, but... I've downloaded and installed the Zend Framework 3.0.0dev MVC skeleton app and wanted to find out if I could install the Doctrine ORM module along with it. composer require doctrine/doctrine-orm-module complains about

Problem 1
- Installation request for doctrine/doctrine-orm-module ^0.10.0 -> satisfiable by doctrine/doctrine-orm-module[0.10.0].
- doctrine/doctrine-orm-module 0.10.0 requires zendframework/zend-mvc ~2.3 -> satisfiable by zendframework/zend-mvc[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.4.0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0rc5, 2.4.0rc6, 2.4.0rc7, 2.4.1, 2.4.10, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 2.4.9, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0, 2.7.1, 2.7.10, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.7.8, 2.7.9] but these conflict with your requirements or minimum-stability.



<

so I try downgrading zendframework/zend-mvc to 2.7.9 in composer.json and try again:

 Problem 1
- The requested package zendframework/zend-mvc (installed at 3.0.1, required as 2.7.9) is satisfiable by zendframework/zend-mvc[3.0.1] but these conflict with your requirements or minimum-stability.
Problem 2
- zendframework/zend-mvc 2.7.9 conflicts with zendframework/zend-router[3.0.2].
- zendframework/zend-mvc 2.7.9 conflicts with zendframework/zend-router[3.0.2].
- Installation request for zendframework/zend-mvc 2.7.9 -> satisfiable by zendframework/zend-mvc[2.7.9].
- Installation request for zendframework/zend-router (installed at 3.0.2) -> satisfiable by zendframework/zend-router[3.0.2].

我怀疑我无法让作曲家开心的原因是这不能完成 - - 即,doctrine-orm-module与ZF3尚未兼容。真正?

and I suspect that the reason I can't make composer happy is that this just cannot be done -- i.e., doctrine-orm-module is not (yet) compatible with ZF3. True?

推荐答案

DoctrineORMModule 1.1.0 DoctrineModule 1.2.0 已经发布。最终应该添加ZF3兼容性。

DoctrineORMModule 1.1.0 and DoctrineModule 1.2.0 have been released. These should finally add ZF3 compatibility.

这篇关于是否可以使用ZF3骨架应用程序安装doctrine orm模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆