khamdullaevuz / antiflood
Anti-flood system in php with memcache
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/khamdullaevuz/antiflood
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