megaads-vn / anti-crawl
Anti crawl module
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
pkg:composer/megaads-vn/anti-crawl
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2025-10-16 04:29:34 UTC
README
require redis This package use https://github.com/nicolasff/phpredis PHP extension, please make sure this is installed before continuing. ##Installation:
composer require megaads-vn/anti-crawl
###OR add in file composer.json
"require": { "megaads-vn/anti-crawl":"dev-master" }
config for yii1
'components' => array( "antiCrawl"=>array( "class" => "application.vendor.megaads-vn.anti-crawl.src.RequestLimits", "hostname" => "127.0.0.1", "port" => 6379, "database" => 1, "prefix" => "Yii.redis." ) )
use for yii1
$isOk = Yii::app()->antiCrawl->check();