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

Menu class

Hello,

I want to create a menu class for menu generating for a website. So it looks like it is a helper-Class. What would be right class name and folder for this class?



85.5k

if u are working on this alone, i guess it will be up to you, the most common is Utils/common, but in phalcon a lof of people are using Library/Menu.php or something like that.

i really dont see why it has to be 1 specific way, i would say its up to you entirly, just to make sence when you are reading the code and thats it

I would just extends Phalcon Tag class most likely but it's your choice really.