PHP code generator, sugestions?