I feel this is an overkill since PHP provides very well for the command line out of the box.
Main reason for commenting is the current (and I'm sure more) comments questioning "why?" or "right tool for this job".
Please, HN overlords, please please add a flag (icon could be a cow) and total counts so that I may filter out such comments.