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

Module router

Hi,

does the router is per module or for the whole application ?

Thank you !



98.9k
Accepted
answer

A router is responsible of take the URI data, process it, and tell Phalcon\Mvc\Application what module/controller/action must be dispatched. So you only need a router per application.