Clone or download the zip file and put the whole folder into a server. (WAMP/XAMP)
go to: http://localhost/Cross-site-Request-Forgery-protection-in-web-applications
and click on either topics you want to test.
Blog to explain the CSRF : https://applicationframework.wordpress.com/2018/10/01/cross-site-request-forgery-protection-in-web-applications-php/