A very initial and totally untested port of foreman in PHP