PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Gábor Kalmár   PHP Detect Google Crawler   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Detect Google Crawler
Check if an access is from Google checking its IP
Author: By
Last change:
Date: 8 years ago
Size: 228 bytes
 

Contents

Class file image Download

Install

Composer

composer require kalmargabor/crawler-check

Examples

$crawlerCheck = new \Kalmargabor\CrawlerCheck\CrawlerCheck();

$ipToCheck = 'ip.address.ip.address';

var_dump($crawlerCheck->isValid($ipToCheck));