PHP Classes

PHP User Agent Parser class: Parse the user agent and extract browser details

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 738 This week: 1All time: 4,526 This week: 560Up
Version License PHP version Categories
parseuseragentstring 1.21GNU General Publi...5.0HTTP, PHP 5
Description 

Author

This class can parse the user agent and extract browser details.

It can parse the current browser user agent or a given user agent string.

The class can analyze the user agent details and store detected browser characteristics in class variables.

Currently it can detect the browser type, computer type (PC, mobile, bot), computer OS, and technology capabilities like JavaScript, frames, CSS, VBScript, cookies, background sounds, Java, ActiveX, mobile, etc..

Picture of Tom Parkison
Name: Tom Parkison <contact>
Classes: 2 packages by
Country: United States United States
Age: ???
All time rank: 2267313 in United States United States
Week rank: 411 Up48 in United States United States Up

Recommendations

  Files folder image Files  
File Role Description
Accessible without login Plain text file changelog.txt Doc. Official Changelog
Accessible without login Plain text file documentation.txt Doc. How to use this class, example code
Plain text file parseUserAgentString.php Class The main file.
Plain text file parseUserAgentString_without_bots.php Class The same thing as parseUserAgentString.php but without bot detection code.

 Version Control Unique User Downloads Download Rankings  
 0%
Total:738
This week:1
All time:4,526
This week:560Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:87%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:2135