matomo-org/device-detector

Request for documentation

Closed this issue · 3 comments

Such as usage.

Also will you be updating this over time? I need to use this for browser finger printing.

Documentation will follow.
First note for simple Usage:

$dd = new DeviceDetector($userAgent);
$dd->parse();
$browserInfo = $dd->getBrowser();
$osInfo = $dd->getOs();
$device = $dd->getDevice();
$brand= $dd->getBrand();
$model= $dd->getModel();

Cool, would be useful for others if this was on the Readme!

Basic doc is now in the readme. Keep feedback coming!