As we do not have modules structure of MVC framework, the traditional command of doctrine CLI no longer work in Mezzio. In that case how do we go ahead with migrations?
You can create modular application:
What does one have to do with the other?
Please describe your problem.
I understand that the modules in Mezzio are present, but the directory structure is different. I initially thought my issue with executing Doctrine migrations commands, which I used to do in the Laminas MVC Framework, was due to Mezzio’s different modular structure. But now I understand it is no way related to the modular structure. Anyways, I have resolved this via:Roave\PsrContainerDoctrine\EntityManagerFactory ;
Thanks