Cloudflare Blocking Firewall PHP (Block and unBlock IP)
Blocking Ip
(new SecurityHelper)->blockIp($IP);
unBlockIp
(new SecurityHelper)->unBlockIp($state_id);
StateId That you have received from blocking ip
Enable Under Attack Mode
(new SecurityHelper)->enableUnderAttackMode();
Disable Under Attack Mode
(new SecurityHelper)->disableUnderAttackMode();
Thanks