khamdullaevuz/antiflood

Anti-flood system in php with memcache

2.0 2022-08-05 15:52 UTC

This package is auto-updated.

Last update: 2024-11-14 03:57:23 UTC


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