PHPackages                             leowebguy/craft-crawler-detect - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. leowebguy/craft-crawler-detect

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

leowebguy/craft-crawler-detect
==============================

Craft plugin for detecting bots/crawlers/spiders

2.0.0(2y ago)15.9kproprietaryPHPPHP ^8.2

Since May 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/leowebguy/craft-crawler-detect)[ Packagist](https://packagist.org/packages/leowebguy/craft-crawler-detect)[ RSS](/packages/leowebguy-craft-crawler-detect/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

CrawlerDetect plugin for Craft
==============================

[](#crawlerdetect-plugin-for-craft)

Craft plugin for detecting bots/crawlers/spiders

---

### Installation

[](#installation)

Open your terminal and go to your Craft project:

```
cd /path/to/project
```

Then tell Composer to load the plugin:

```
composer require leowebguy/craft-crawler-detect
```

In the Control Panel, go to Settings → Plugins and click the “Install” button for Crawler Detect.

---

### Overview

[](#overview)

A wrapper for the [CrawlerDetect](https://github.com/JayBizzle/Crawler-Detect) by Mark Beech.

---

### Usage

[](#usage)

The plugin exposes a Crawler Detect's methods:

```
{{ craft.crawlerDetect.isCrawler ? 'I am a crawler.' : 'I am not crawler.' }}
```

```
{% if craft.crawlerDetect.isCrawler %} I am a crawler. {% endif %}
```

Also passing user agent as string:

```
{% if craft.crawlerDetect.isCrawler('Mozilla/5.0 (compatible; Sosospider/2.0; +http://help.soso.com/webspider.htm)') %} I am a crawler. {% endif %}
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

3

Last Release

775d ago

Major Versions

1.0.3 → 2.0.02024-03-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/44216bb5de0cacbd3d995a1a71c3ee395bd36380305e547ac31452f86d4cd713?d=identicon)[leowebguy](/maintainers/leowebguy)

---

Top Contributors

[![leowebguy](https://avatars.githubusercontent.com/u/8460020?v=4)](https://github.com/leowebguy "leowebguy (16 commits)")

---

Tags

craft-cmscraft-cms-plugincraft-plugincraft4craft5craftcmscrawlerdetectbotsspiders

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/leowebguy-craft-crawler-detect/health.svg)

```
[![Health](https://phpackages.com/badges/leowebguy-craft-crawler-detect/health.svg)](https://phpackages.com/packages/leowebguy-craft-crawler-detect)
```

###  Alternatives

[jaybizzle/crawler-detect

CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent

2.3k96.7M215](/packages/jaybizzle-crawler-detect)[jaybizzle/laravel-crawler-detect

A Laravel package to detect web crawlers via the user agent

3232.6M17](/packages/jaybizzle-laravel-crawler-detect)[hisorange/browser-detect

Browser &amp; Mobile detection package for Laravel.

1.1k10.1M50](/packages/hisorange-browser-detect)[patrickschur/language-detection

A language detection library for PHP. Detects the language from a given text string.

8513.2M18](/packages/patrickschur-language-detection)[wa72/htmlpagedom

jQuery-inspired DOM manipulation extension for Symfony's Crawler

3383.9M34](/packages/wa72-htmlpagedom)[vdb/php-spider

A configurable and extensible PHP web spider

1.4k181.0k7](/packages/vdb-php-spider)

PHPackages © 2026

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