{addphp file=/programtest/test.php}
Just create a module to run your php file.
alternative:try this trick-> add the bot in a content-item then use a module(look EDC) to load this content-item in the module!