Is there any way to use Kirby functions in PHP files that aren’t “default” of Kirby? I have a PHP generates CSS File where I want to use some of the default Kirby methods like get(); and some own functions I’ve added in a plugin.
I have in mind that I’ve read somewhere such a situation and there was something with require bootstrap.php'; or similar
Thanks! Maybe this is a beginner PHP Question but my PHP File is in a totally different folder and the __DIR__ references to this folder. Is there a best practice way to get this file?