Skip to content
Yii2 crawler detect
Branch: master
Clone or download
Latest commit d0a8755 Aug 3, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
CrawlerDetect.php Update CrawlerDetect.php Aug 3, 2016
LICENSE Initial commit Aug 3, 2016 Update Aug 3, 2016


Yii2 extension for CrawlerDetect library.

To use it just require this extension in your composer.json file:

"alikdex/yii2-crawler-detect": "1.0",

And then add it to your components configuration in Yii2:

'bootstrap' => ['crawlerdetect'],
'components' => [
	'crawlerdetect' => [
		'class' => 'alikdex\crawlerdetect\CrawlerDetect',
		'setParams' => true, // optional, bootstrap initialize requred

Some basic detections are available in Yii's params:


// bool(false)

You can also use it from anywhere in your code, calling Crawler-Detect's API:


/*Check all available methods here: */
You can’t perform that action at this time.