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.0k—6.3%MITPHPPHP &gt;=8.0

Since Sep 6Pushed 3mo 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 1mo 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

40

—

FairBetter than 88% of packages

Maintenance64

Regular maintenance activity

Popularity26

Limited adoption so far

Community7

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

Recently: every ~41 days

Total

9

Last Release

452d 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

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

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