Registry / utility / jaybizzle-crawler-detect

jaybizzle-crawler-detect

JSON →
library1.4.0phppackagistunverified

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

composer require jaybizzle/crawler-detect
INSTALL
IMPORT
SIG · JAYBIZZLE-CRAWLER-
J
jaybizzle-crawler-detect
utilityphpv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CrawlerDetect
use Jaybizzle\CrawlerDetect\CrawlerDetect;

Check if the current user agent is a crawler/bot.

use Jaybizzle\CrawlerDetect\CrawlerDetect; $crawlerDetect = new CrawlerDetect(); if ($crawlerDetect->isCrawler()) { echo 'Bot detected'; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
jaybizzle-crawler-detect — pip install jaybizzle-crawler-detect · libregistry