Clone of DocHub but writen with PHP