fix php docs and more