We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Plug ZF2 modules into Phalcon MVC applications ?

How can I plug ZF2 modules into a Phalcon MVC application? Thanks.



11.8k
Accepted
answer

put them in your vendor folder. And register namespaces.

$loader->registerNamespaces(array('Zend' => 'path/vendor/zend...'));