Hi,
I needed an Object Oriented wrapper to run CLI commands in a structured way. However, there wasn't a decent wrapper. The best one I found was
php-shell-wrapper, but it was missing what I needed. So, I created it, and filed a pull request. The PR was rejected.
However, I imagine that other people will need shell wrappers too. Maybe Adam Brett will want to implement the wrapper to a different way to what I did. But there's no standard, and so we are stuck not only being coupled to a specific implementation, but we can't even change the implementation easily if we become unsatisfied with it.
So, I thought that maybe a standard would be good, and I created
shell-interop. At present there is only a specification in the wiki, but I will work on the interfaces soon. Any chance this can become a PSR? Even if not, feedback would be greatly appreciated!