PHPackages                             marcvanh/laravel-bot-block - 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. marcvanh/laravel-bot-block

ActiveLibrary[Security](/categories/security)

marcvanh/laravel-bot-block
==========================

A custom middleware package for Laravel. Temporarily blocks crawlers scanning for vulnerabilities.

1.0.8(1y ago)43.8k↓55.8%MITPHPPHP &gt;=8.0

Since Sep 6Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/marcvanh/laravel-bot-block)[ Packagist](https://packagist.org/packages/marcvanh/laravel-bot-block)[ RSS](/packages/marcvanh-laravel-bot-block/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependenciesVersions (10)Used By (0)

Laravel Bot Block
=================

[](#laravel-bot-block)

A custom middleware package for Laravel. It monitors incoming requests, watching for bots/crawlers scanning for vulnerabilities. Any bot activity and the crawler is blocked for a specified amount of time (10 minutes by default). The end result is a pretty good defense against probing scripts, crawlers and bots.

Supports Cloudflare &amp; other Proxies

### Installation

[](#installation)

1. Install the package via Composer:

    ```
    composer require marcvanh/laravel-bot-block
    ```
2. (Optional) Publish the configuration file (for customization):

    ```
    php artisan vendor:publish --provider="Marcvanh\LaravelBotBlock\LaravelBotBlockServiceProvider"
    ```

ideas: move "illuminate/support" to require-dev consider only "web" group for middleware: // $kernel-&gt;pushMiddlewareToGroup('web', \\Marcvanh\\LaravelBotBlock\\Middleware\\BotBlockMiddleware::class);

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance54

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Recently: every ~41 days

Total

9

Last Release

543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c9c2008b375d71ef255f786d021cbb9c9c97a0feb9dd1126dae57ab089f89334?d=identicon)[marcvanh](/maintainers/marcvanh)

---

Top Contributors

[![marcvanh](https://avatars.githubusercontent.com/u/5478731?v=4)](https://github.com/marcvanh "marcvanh (1 commits)")

### Embed Badge

![Health badge](/badges/marcvanh-laravel-bot-block/health.svg)

```
[![Health](https://phpackages.com/badges/marcvanh-laravel-bot-block/health.svg)](https://phpackages.com/packages/marcvanh-laravel-bot-block)
```

###  Alternatives

[phpids/phpids

PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application

791150.0k2](/packages/phpids-phpids)[paragonie/ecc

PHP Elliptic Curve Cryptography library

25866.3k44](/packages/paragonie-ecc)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

4912.6k](/packages/nicobleiler-php-passphrase)[dwgebler/encryption

Encryption wrapper for PHP using libsodium — simple API for symmetric and asymmetric encryption, password hashing, digital signing, and message authentication.

317.5k](/packages/dwgebler-encryption)

PHPackages © 2026

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