make php recipe configurable via attribute, fixes #4