Wrapper for the crawler detection package
upstream-team/laravel-crawler-detect is a Laravel package for wrapper for the crawler detection package.
It currently has 2 GitHub stars and 293 downloads on Packagist (latest version 0.1.10).
Install it with composer require upstream-team/laravel-crawler-detect.
Discover more Laravel packages by upstream-team
or browse all Laravel packages to compare alternatives.
Last updated
Welcome to the Laravel Crawler Detect repository, your powerful ally in identifying and handling web crawlers and bots within your Laravel applications. In the vast world of web traffic, being able to discern between genuine users and automated crawl bots is crucial. This tool is designed to seamlessly integrate with your Laravel projects, giving you the ability to efficiently detect spiders, bots, and crawler software.
composer require upstream-team/laravel-crawler-detect
request()->isCrawler();
protected $middlewareGroups = [
'web' => [
// ...
UpstreamTeam\CrawlerDetect\Middleware\CrawlerFilter::class,
],
// ...
app('crawler-detect')->isCrawler();
// or
app('crawler-detect')->isCrawler($userAgent);
CrawlerDetectFacade::isCrawler();
// or
CrawlerDetectFacade::isCrawler($userAgent);