Hi,
let me help you with this. I have quite more experience with shell scripting programs. I have build several custom softwares on PHP too. Just let me know the script names, parameters, and their output format. I think you would like to parse some script output too.
Lets discus more about this.