Cloudflare-Blocking-Firewall-PHP icon indicating copy to clipboard operation
Cloudflare-Blocking-Firewall-PHP copied to clipboard

Cloudflare Blocking Firewall PHP (Block and unBlock IP)

Cloudflare-Blocking-Firewall-PHP

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