Grav Coding conventions

Hello Grav Community,

I just started my first project with Grav and was looking for a document or a list of current coding conventions/ best practices. But I haven’t found much yet.

I’m especially interested in property names in pages/templates, indentation, directory structure, file names… just the basics related to Grav. The Html / CSS “architecture” I will treat separately.

Does anybody have a document like that or knows where I could find it?

Many thanks and best regards


Welcome @maname! I’d say the best thing to do is to review the structure/naming of the default Grav theme Quark, and also one of the default skeletons such as

I hope the above helps.