added php docs