PHPackages                             hryvinskyi/magento2-bot-blocker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. hryvinskyi/magento2-bot-blocker

ActiveMagento2-module[Security](/categories/security)

hryvinskyi/magento2-bot-blocker
===============================

N/A

1.2.2(9mo ago)93.5k↓56%2MITPHP

Since Nov 3Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/hryvinskyi/magento2-bot-blocker)[ Packagist](https://packagist.org/packages/hryvinskyi/magento2-bot-blocker)[ RSS](/packages/hryvinskyi-magento2-bot-blocker/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (15)Used By (0)

Hryvinskyi\_BotBlocker Module
=============================

[](#hryvinskyi_botblocker-module)

Overview
--------

[](#overview)

The Hryvinskyi\_BotBlocker module is designed to enhance your Magento 2 store's security by tracking and blocking IP addresses that exceed a specified request limit within a defined timeframe. This module allows you to configure the blocking threshold, timeframe, and a whitelist of IP addresses.

Installation
------------

[](#installation)

To install the Hryvinskyi\_BotBlocker module, follow these steps:

1. Copy the module files to your Magento 2 installation.
2. Run the following commands in your Magento 2 root directory: ```
    php bin/magento module:enable Hryvinskyi_BotBlocker
    php bin/magento setup:upgrade
    php bin/magento cache:clean
    ```

Configuration
-------------

[](#configuration)

You can configure the behavior of the Hryvinskyi\_BotBlocker module through the Magento Admin Panel under `Stores > Configuration -> Hryvinskyi Extensions > Bot Blocker.`. The module allows you to customize the following settings:

- **Threshold:** Set the maximum number of requests an IP address can make within a specified timeframe before it is blocked.
- **Timeframe:** Define the time window during which the threshold count is calculated.
- **Whitelist:** Specify a list of IP addresses that should be exempt from the blocking rules.
- **Storage Method:** Choose where to store the tracking data, either in Redis or in MySQL.

Usage
-----

[](#usage)

The Hryvinskyi\_BotBlocker module tracks and blocks IP addresses based on the configuration you set. Here's how it works:

1. When an IP address makes a request to your website, the module tracks the request count and the time of the first request.
2. If the request count exceeds the configured threshold within the specified timeframe, the IP address is blocked.
3. IP addresses on the whitelist are exempt from being blocked.

Extensibility
-------------

[](#extensibility)

As a developer, you can extend and customize the behavior of the Hryvinskyi\_BotBlocker module. You may override the functionality of the module by interacting with its codebase. For more information, refer to the [Magento extension mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance74

Regular maintenance activity

Popularity29

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~68 days

Recently: every ~53 days

Total

14

Last Release

86d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9294098?v=4)[Volodymyr Hryvinskyi](/maintainers/hryvinskyi)[@hryvinskyi](https://github.com/hryvinskyi)

---

Top Contributors

[![hryvinskyi](https://avatars.githubusercontent.com/u/9294098?v=4)](https://github.com/hryvinskyi "hryvinskyi (24 commits)")

### Embed Badge

![Health badge](/badges/hryvinskyi-magento2-bot-blocker/health.svg)

```
[![Health](https://phpackages.com/badges/hryvinskyi-magento2-bot-blocker/health.svg)](https://phpackages.com/packages/hryvinskyi-magento2-bot-blocker)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19131.4k](/packages/imi-magento2-friendly-captcha)[veriteworks/cookiefix

Magento2 extension for Cookie SameSite attribute.

65482.5k1](/packages/veriteworks-cookiefix)[hryvinskyi/magento2-csp

Advanced Content Security Policy (CSP) module for Magento 2 with whitelist management, violation reports, header splitting, and value optimization

114.1k](/packages/hryvinskyi-magento2-csp)[sansec/magento2-module-shield

15190.4k](/packages/sansec-magento2-module-shield)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
