khamdullaevuz / antiflood
Anti-flood system in php with memcache
2.0
2022-08-05 15:52 UTC
Requires
- php: >=7.0
- ext-memcache: *
README
Usage
Require library
composer require khamdullaevuz/antiflood
Usage in code
<?php require 'vendor/autoload.php'; use Khamdullaevuz\AntiFlood; $flood = new AntiFlood(); if($flood->check(10, 200)) echo "Flood not detected"; else echo "Flood detected";
Author: Elbek Khamdullaev