manage a comment and number of videos view on a website with slim 3

Hi dear member I am currently developing a website with slim 3 which takes into account videos and music, but at the moment I need help to treat user comments and also manage the number of views of the video thank you.