PHP source code API generator