integration with php