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(8mo ago)82.8k↓36.1%2MITPHP

Since Nov 3Pushed 7mo 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 1mo ago

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

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

[](#hryvinskyi_botblocker-module)

[![Latest Stable Version](https://camo.githubusercontent.com/845718243fa0ea7270c15a62a8ace39018c881f84a09bb778e6a5494a9ed86f7/68747470733a2f2f706f7365722e707567782e6f72672f68727976696e736b79692f6d6167656e746f322d626f742d626c6f636b65722f762f737461626c65)](https://packagist.org/packages/hryvinskyi/magento2-bot-blocker)[![Total Downloads](https://camo.githubusercontent.com/ec28b09de67babd9ad0c6c247fc6fbe70d966375915a24f160f6bb055f1f5913/68747470733a2f2f706f7365722e707567782e6f72672f68727976696e736b79692f6d6167656e746f322d626f742d626c6f636b65722f646f776e6c6f616473)](https://packagist.org/packages/hryvinskyi/magento2-bot-blocker)[![License](https://camo.githubusercontent.com/59be41977f8e9af85d2ef5b7d958e606de9c7ee8029f29415571042c507d8d82/68747470733a2f2f706f7365722e707567782e6f72672f68727976696e736b79692f6d6167656e746f322d626f742d626c6f636b65722f6c6963656e7365)](https://packagist.org/packages/hryvinskyi/magento2-bot-blocker)

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

40

—

FairBetter than 88% of packages

Maintenance61

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 ~61 days

Recently: every ~21 days

Total

12

Last Release

251d 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 (21 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

[veriteworks/cookiefix

Magento2 extension for Cookie SameSite attribute.

65455.3k1](/packages/veriteworks-cookiefix)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

18116.2k](/packages/imi-magento2-friendly-captcha)[basecom/magento2-csp-split-header

Magento 2 module to split oversized CSP headers into multiple headers.

5256.6k](/packages/basecom-magento2-csp-split-header)[pixelopen/magento-cloudflare-turnstile

Protect your store from spam messages and spam user accounts with Cloudflare Turnstile

5325.4k1](/packages/pixelopen-magento-cloudflare-turnstile)[yireo/magento2-csp-whitelist-inline-js

Magento module to automatically add inline JS script to CSP whitelist

2974.7k](/packages/yireo-magento2-csp-whitelist-inline-js)[sansec/magento2-module-shield

14111.8k](/packages/sansec-magento2-module-shield)

PHPackages © 2026

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