We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Get all registered modules

Is there a way in Phalcon to get all registered modules

  • within a module
  • within a controller

without involving the database?

Phalcon would be much better framework, if community was even a little bit responsive..



32.2k
Accepted
answer

There are a lot of way to ask... you're in the wrong way man. Check Discord

Phalcon\Mvc\Application::getModules()

Good luck

Thanks for that! I did not know that phalcon discussion forums are the "wrong way". Sorry! :)

There are a lot of way to ask... you're in the wrong way man. Check Discord

Phalcon\Mvc\Application::getModules()

Good luck