I don't think there is any way to run PHP in VC. You might be able to run a webserver that supports PHP and then communicate with that.
It would probably make more sense to look at the code and see if you can figure out how it is communicating with the nest. Maybe you only need to do scrape actions.