Home

Awesome

UASparser — A User Agent String parser for PHP

Important: while the code in this package is functional, it's no longer any use because the data source at user-agent-string.info (now udger.com) it relied on is no longer available.

It may work with udger.com's commercial data sources, but that's not available to test with; I recommend you switch to a different system such as Mobile-Detect.

Build Status Latest Stable Version Latest Unstable Version

This is a parser and classifier for user agent strings presented by HTTP clients.

This code is based on the libraries by Jaroslav Mallat available from http://user-agent-string.info/

Licensed under the LGPL, see license.txt for details.

This version improved by Marcus Bointon:

Documentation

Release notes may be found in the changelog.

Generate PHPDocs like this:

phpdoc --directory UAS --target ./phpdoc --ignore Tests/ --sourcecode --force --title UASParser