Closed drakulitka closed 7 years ago
You won't need doctrine-module for this.
Simply run composer require dasprid/container-interop-doctrine
and you
can access your stuff via $container->get(EntityManager::class)
(assuming
correct use statement ;) )
On Mon, 10 Apr 2017 at 08:42 drakulitka notifications@github.com wrote:
Hello, great module !!! Do you plan to develop a similar module for Zend Expressive?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/doctrine/DoctrineModule/issues/596, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCXMIQIZ3GeBBZIkvhYSz5INEha05epks5ruc9xgaJpZM4M4YPJ .
I did not find the implementation of doctrine-migrations in this module! There are many ways to introduce doctrine https://xtreamwayz.com/blog/2015-12-12-setup-doctrine-for-zend-expressive
I would like to use all the functionality of this module in Zend Expressive ^ 2.0, including fixtures, migrations, etc.
Migrations are also not a default set of doctrineModule ;)
composer require doctrine/migrations
and then ./vendor/bin doctrine:migrations
Also word of advise: don't blindly use libraries. Check what the libraries are doing! It is fairly simple to use doctrine on it's own without using a thing like DoctrineModule. DoctrineModule is simply heavily tied into Zend Framework which is netting you some advantages (like the Form Element).
On Mon, 10 Apr 2017 at 11:49 drakulitka notifications@github.com wrote:
I did not find the implementation of doctrine-migrations in this module! There are many ways to introduce doctrine https://xtreamwayz.com/blog/2015-12-12-setup-doctrine-for-zend-expressive
I would like to use all the functionality of this module in Zend Expressive ^ 2.0
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/doctrine/DoctrineModule/issues/596#issuecomment-292901990, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCXMAZPSHfdT-kATKL4rdlsFGFZYEM3ks5rufstgaJpZM4M4YPJ .
Thanks for the advice. I will try to stick to it!
How about Validators/ Hydrators?
Hello, great module !!! Do you plan to develop a similar module for Zend Expressive?