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

Access web tool inside MVC website

Hi, I build an application and I try to add the dev tool. When I try to access web tool.php I have this error :

VendorController handler class cannot be loaded

I installed the dev with composer. How can I set a static route ?

Thank you !



98.9k

Follow the routing docs (https://docs.phalcon.io/en/latest/reference/routing.html) to set up a static route.



31.3k

Hi, sorry but I can't see nothing about static route in this page ?

I understand the use of : $url->setStaticBaseUri('https://static.mywebsite.com/');

But, I can make it work. If a replace : https://static.mywebsite.com/ with my base URI, I can't access pages.

Thank you !