Robo is an excellent php task runner, similar to NodeJS Gulp. I was looking for a pure php alternative to Gulp for my php projects and I simply prefer to have a tool chain written in the same language if possible. Also I found the code to be a lot better manageable than using Gulp.

So here is one of my main use cases I have for it. I wanted to run the unit tests as soon as I modified a test case. The following code is for a CakePHP3 project.

You can adept the above script for other projects as well pretty easy. Also that should be required is to make sure that you change line 13 so that it fits the path and convention of your project.