I’ve been looking for something similar to this. While this is not the complete solution I need, it’s close enough that I may create a CLI interface, or advanced web interface to this program.
Update: I was unable to get this working on php files under windows.

