created php library documentation