[英]Use of Doctrine 2 in Zend Framework 2
I would like to use Doctrine 2 in ZF2 project. 我想在ZF2项目中使用Doctrine 2。 I have done some researches.
我做了一些研究。 I found this: http://www.jasongrimes.org/2012/01/using-doctrine-2-in-zend-framework-2/
我发现了这个: http : //www.jasongrimes.org/2012/01/using-doctrine-2-in-zend-framework-2/
Unfortunately, I don't have CURL nor composer installed. 不幸的是,我没有安装CURL和composer。 And when I tried to install CURL first.
当我尝试先安装CURL时。 I had errors i don't manage to solve.
我有错误,我无法解决。
Is there an easy solution to integrate Doctrine 2 in ZF2 ? 是否有一个简单的解决方案将Doctrine 2集成到ZF2中?
I spent a lot of days trying to find a good solution to integrate Doctrine 2 into ZF2. 我花了很多天试图找到一个很好的解决方案,将Doctrine 2集成到ZF2中。 Finally, I managed to do it with this skeleton application: https://github.com/iwalz/zf2-doctrine2-getting-started
最后,我设法使用这个骨架应用程序: https : //github.com/iwalz/zf2-doctrine2-getting-started
It has a very good readme, if you follow the steps, success is guaranteed! 它有一个非常好的自述,如果你按照步骤,成功是有保证的!
You have the official Doctrine ZF2 Module written by Doctrine team 你有Doctrine团队编写的官方Doctrine ZF2模块
https://github.com/doctrine/DoctrineModule https://github.com/doctrine/DoctrineModule
Composer or CURL are a easy way of download that sources and register the namespace. Composer或CURL是一种简单的下载方式,可以获取源代码并注册命名空间。 You can do the same downloading the sources and registering the module
您可以执行相同的下载源并注册模块
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.