neuronet77 / yii2-ban-ip

Extension to black IP addresses to access the system after x number of 404 errors within x minutes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yii2 Ban IP

Extension to black IP addresses to access the system after x number of 404 errors within x minutes

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist gertex/yii2-ban-ip "*"

or add

"gertex/yii2-ban-ip": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \gertex\yii2banip\AutoloadExample::widget(); ?>```

About

Extension to black IP addresses to access the system after x number of 404 errors within x minutes


Languages

Language:PHP 100.0%