I was watching a couple of tutorials and the coders are coding in a different format to how you would usally code using PHP. I was wonderikng if I code how I would code normal PHP code would there be any problems with me intergrating it into an exsisting kirby webiste.
There are certain conventions, how to extend Kirby CMS, like how you define controllers, models, config files, but else itβs just php.
maybe you should specify how your style of programming differs from the style of programming in the tutorials
1 Like
The code in the Kirby core follows the PSR-12 standard. But you are free to use whatever coding style for your own code. As Marcus wrote, it will work as long as PHP can parse it.