Download the PHP package bee4/useragent-classifier without Composer
On this page you can find all versions of the php package bee4/useragent-classifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bee4/useragent-classifier
More information about bee4/useragent-classifier
Files in bee4/useragent-classifier
Download bee4/useragent-classifier
More information about bee4/useragent-classifier
Files in bee4/useragent-classifier
Vendor bee4
Package useragent-classifier
Short Description A library to work with UserAgent detection and classification
License Apache-2.0
Package useragent-classifier
Short Description A library to work with UserAgent detection and classification
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package useragent-classifier
bee4/useragent-classifier
This library allow to track and detect who is behind useragents :)
Installing
This project can be installed using Composer. Add the following to your composer.json:
or run this command:
Usage
This library is composed of a Detector
object and different Bots
implementation.
use Bee4\UserAgent\Classifier\Detector;
$ua = 'Mozilla/5.0 (compatible; Mail.RU/2.0)';
$bot = Detector::whoIs($ua); //$bot is a Bots\MailRU instance
$bot->getBot(); //Here we get `mailru`
$bot->getName(); //Here we get `mailru-bot`
$ua = 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)';
$bot = Detector::whoIs($ua); //$bot is a Bots\Google instance
$bot->getBot(); //Here we get `google`
$bot->getName(); //Here we get `google-bot`
All versions of useragent-classifier with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
ext-pcre Version *
ext-pcre Version *
The package bee4/useragent-classifier contains the following files
Loading the files please wait ....