added doc for php models